File: %40mb

package info (click to toggle)
auto-07p 0.9.1%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 16,200 kB
  • sloc: fortran: 22,644; f90: 19,340; python: 19,045; ansic: 11,116; sh: 1,079; makefile: 618; perl: 339
file content (16 lines) | stat: -rwxr-xr-x 466 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /usr/bin/env python

import sys
import os
sys.path.append(os.path.join(os.environ["AUTO_DIR"],"python"))
from AUTOCommands import commandMergeBranches

# This is the Python syntax for making a script runnable
if __name__ == '__main__':
    if len(sys.argv) > 2:
        merge = commandMergeBranches(sys.argv[1],sys.argv[2])
    elif len(sys.argv) > 1:
        merge = commandMergeBranches(sys.argv[1])
    else:
        merge = commandMergeBranches()
    merge()