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

Bastian Blank waldi at costa.debian.org
Sun Mar 5 11:48:00 UTC 2006


Author: waldi
Date: Sun Mar  5 11:48:00 2006
New Revision: 6071

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


Modified: people/waldi/scripts/snapshot/package.py
==============================================================================
--- people/waldi/scripts/snapshot/package.py	(original)
+++ people/waldi/scripts/snapshot/package.py	Sun Mar  5 11:48:00 2006
@@ -16,7 +16,9 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-import debian_linux, os.path, shutil, sys, time
+import os.path, shutil, sys, time
+sys.path.append(sys.path[0] + "/../../linux-2.6/debian/lib/python")
+import debian_linux
 
 base = os.path.expanduser("~/debian/kernel/snapshot")
 repository = "svn+ssh://svn.debian.org/svn/kernel/"
@@ -237,4 +239,5 @@
         package(path, maps[path])
 
 if __name__ == '__main__':
+    os.chdir(base)
     main()



More information about the Kernel-svn-changes mailing list