summaryrefslogtreecommitdiff
path: root/packages/python/python-m2crypto
ModeNameSize
-rw-r--r--install.patch966logplain
'n32' href='#n32'>32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
#!/usr/bin/env python
import sys, os, string, getopt, re

mtncmd = "mtn"

def main(argv = None):
    if argv is None:
        argv = sys.argv
    opts, list = getopt.getopt(sys.argv[1:], ':R')
    if len(list) < 1:
        print "You must specify a file"
        return 2
    reverse = False
    for o, a in opts:
        if o == "-R":
            reverse = True
    if os.path.exists(list[0]):
        input = open(list[0], 'r')
        renameFrom = ""
        cmd = ""
        for line in input: