[Pkg-bazaar-commits] ./bzr-builddeb/trunk r233: Create the tarball dir before trying to download from the archive in to it.

James Westby jw+debian at jameswestby.net
Thu May 15 15:59:32 UTC 2008


------------------------------------------------------------
revno: 233
committer: James Westby <jw+debian at jameswestby.net>
branch nick: trunk
timestamp: Thu 2008-05-15 16:59:32 +0100
message:
  Create the tarball dir before trying to download from the archive in to it.
modified:
  builder.py
  debian/changelog
-------------- next part --------------
=== modified file 'builder.py'
--- a/builder.py	2008-03-06 15:46:17 +0000
+++ b/builder.py	2008-05-15 15:59:32 +0000
@@ -219,6 +219,8 @@
     while sources.Lookup(package):
       if version == Version(sources.Version).upstream_version:
         tarball_dir = self._properties.tarball_dir()
+        if not os.path.exists(tarball_dir):
+            os.makedirs(tarball_dir)
         command = 'apt-get source -y --tar-only %s=%s' % \
             (package, sources.Version)
         proc = subprocess.Popen(command, shell=True, cwd=tarball_dir)

=== modified file 'debian/changelog'
--- a/debian/changelog	2008-05-15 15:21:17 +0000
+++ b/debian/changelog	2008-05-15 15:59:32 +0000
@@ -11,7 +11,11 @@
     now.
   * Tweaks to stamp handling in debian/rules.
 
- -- Jelmer Vernooij <jelmer at samba.org>  Thu, 15 May 2008 15:03:57 +0200
+  [ James Westby ]
+  * Make the tarball dir before trying to download from the archive in
+    to it. (LP: #223948)
+
+ -- James Westby <james.westby at canonical.com>  Thu, 15 May 2008 16:59:00 +0100
 
 bzr-builddeb (0.93) unstable; urgency=low
 



More information about the Pkg-bazaar-commits mailing list