From 36ae9b5dd9b29084f486678f8c2d2b798089f7c5 Mon Sep 17 00:00:00 2001
From: Brian Warner <warner@allmydata.com>
Date: Tue, 12 Jun 2007 18:06:10 -0700
Subject: [PATCH] make-version.py: it is sys.platform, not os.platform

---
 misc/make-version.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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:
-- 
2.45.2