summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-06-11 18:57:17 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-06-11 18:57:17 -0500
commit2720f7952242e3e4b27092bc53e22c4c9d0ec9c2 (patch)
treea8a0b1b23a19ddfe860528f8fe705b9339b3c626 /acprep
parent571d711523508168406d8e3b83dcfefd2d82dfde (diff)
downloadfork-ledger-2720f7952242e3e4b27092bc53e22c4c9d0ec9c2.tar.gz
fork-ledger-2720f7952242e3e4b27092bc53e22c4c9d0ec9c2.tar.bz2
fork-ledger-2720f7952242e3e4b27092bc53e22c4c9d0ec9c2.zip
Fix reference to self.options.products_dir
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep6
1 files changed, 3 insertions, 3 deletions
diff --git a/acprep b/acprep
index 4e715ee7..d5cbcddc 100755
--- a/acprep
+++ b/acprep
@@ -399,7 +399,7 @@ class PrepareBuild(CommandLineApp):
return join(os.environ['HOME'], "Products")
def products_directory(self):
- if not self.options.products_dir:
+ if not self.products_dir:
products = self.default_products_directory()
if not exists(products) or not isdir(products):
@@ -407,9 +407,9 @@ class PrepareBuild(CommandLineApp):
products = join(products, basename(self.source_dir))
- self.options.products_dir = products
+ self.products_dir = products
- return self.options.products_dir
+ return self.products_dir
def build_directory(self):
if not self.options.build_dir: