From: Brian Warner Date: Wed, 13 Jun 2007 01:06:10 +0000 (-0700) Subject: make-version.py: it is sys.platform, not os.platform X-Git-Tag: allmydata-tahoe-0.4.0~48 X-Git-Url: https://git.rkrishnan.org/Site/Content/Exhibitors/index.php?a=commitdiff_plain;h=36ae9b5dd9b29084f486678f8c2d2b798089f7c5;p=tahoe-lafs%2Ftahoe-lafs.git make-version.py: it is sys.platform, not os.platform --- diff --git a/misc/make-version.py b/misc/make-version.py index 5213ca0e..41d221a1 100644 --- a/misc/make-version.py +++ b/misc/make-version.py @@ -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: