~lifeeth/sahana-eden/mobile

« back to all changes in this revision

Viewing changes to python/SerialWorker.py

  • Committer: Praneeth Bodduluri
  • Date: 2009-08-16 22:13:59 UTC
  • Revision ID: lifeeth@gmail.com-20090816221359-ww5gek39zltqc3sj
minor tweaks

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
debug = 0
14
14
posturl = ""
15
15
sahanapydatabase = ""
16
 
db=""
 
16
db = ""
 
17
branch = "py"
17
18
headers = {"Content-type":"text/xml","Accept": "text/plain"}
18
19
migrate = False
19
20
def T(string):
78
79
        posturl = argv[3]
79
80
        global sahanapydatabase
80
81
        sahanapydatabase = argv[4]
 
82
        global branch
 
83
        branch = argv[5]
81
84
    except IndexError:
82
85
        print argv
83
86
        print "Please give the appropriate parameters"