File: %40sb

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 (18 lines) | stat: -rwxr-xr-x 540 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /usr/bin/env python

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

# This is the Python syntax for making a script runnable
if __name__ == '__main__':
    point = 1
    branch = 1
    if len(sys.argv) > 4:
        branch = int(sys.argv[4])
        if len(sys.argv) > 5:
            point = int(sys.argv[5])
    sub = commandSubtractBranches(sys.argv[1],sys.argv[2],sys.argv[3],
                                  branch=branch,point=point)
    sub()