make-version.py: it is sys.platform, not os.platform

This commit is contained in:
Brian Warner 2007-06-12 18:06:10 -07:00
parent 6f9bc9b647
commit 36ae9b5dd9

View File

@ -70,7 +70,7 @@ def update():
print "no _darcs/ but no version.py either: how did you get this tree?"
return 0
darcs = 'darcs'
if os.platform == 'win32':
if sys.platform == 'win32':
darcs = 'realdarcs'
cmd = [darcs, "changes", "--from-tag=^allmydata-tahoe", "--xml-output"]
try: