[kernel] r7187 - people/waldi/scripts/snapshot

Bastian Blank waldi at costa.debian.org
Thu Aug 17 18:48:50 UTC 2006


Author: waldi
Date: Thu Aug 17 18:48:49 2006
New Revision: 7187

Modified:
   people/waldi/scripts/snapshot/package.py

Log:
Update.

Modified: people/waldi/scripts/snapshot/package.py
==============================================================================
--- people/waldi/scripts/snapshot/package.py	(original)
+++ people/waldi/scripts/snapshot/package.py	Thu Aug 17 18:48:49 2006
@@ -158,12 +158,13 @@
         i = file(last_file).read().strip()
         last_revision, last_upstream = i.split()
         last_revision = int(last_revision)
-    elif not os.path.exists("out"):
-        os.makedirs("out" , 0755)
 
     if revision <= last_revision:
         return
 
+    if not os.path.exists("out"):
+        os.makedirs("out" , 0755)
+
     version_upstream = changelog_entry['Version']['upstream']
     version_debian = changelog_entry['Version']['debian'].split('.')
     version_debian_end = int(version_debian[-1])



More information about the Kernel-svn-changes mailing list