[Pkg-bazaar-commits] r210 ./bzr-builddeb/people/jdw/dev: Correct the incremental import bug just introduced.

James Westby jw+debian at jameswestby.net
Mon Oct 29 22:16:30 UTC 2007


------------------------------------------------------------
revno: 210
committer: James Westby <jw+debian at jameswestby.net>
branch nick: dev
timestamp: Mon 2007-10-29 22:16:30 +0000
message:
  Correct the incremental import bug just introduced.
modified:
  __init__.py
-------------- next part --------------
=== modified file '__init__.py'
--- a/__init__.py	2007-10-29 22:04:19 +0000
+++ b/__init__.py	2007-10-29 22:16:30 +0000
@@ -472,6 +472,9 @@
       orig_target = os.path.join(to, '../tarballs')
       importer.import_dsc(to, orig_target=orig_target)
     else :
+      inc_to = '.'
+      if to is not None:
+        inc_to = to
       _local_conf = os.path.join(inc_to, local_conf)
       _global_conf = os.path.join(inc_to, global_conf)
       _default_conf = os.path.join(inc_to, default_conf)



More information about the Pkg-bazaar-commits mailing list