]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
make-version.py: it is sys.platform, not os.platform
authorBrian Warner <warner@allmydata.com>
Wed, 13 Jun 2007 01:06:10 +0000 (18:06 -0700)
committerBrian Warner <warner@allmydata.com>
Wed, 13 Jun 2007 01:06:10 +0000 (18:06 -0700)
misc/make-version.py

index 5213ca0ebc73ec13052c8809eb88057e216abae4..41d221a1ebc08111b18e8bf8f30583835f39cb47 100644 (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: