summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-13 20:00:07 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-13 20:00:07 -0400
commit93c80afe967aad78fe5fad6ede163460c3c8317e (patch)
tree1b104be085110243a4a29a3975207164eda1270f /acprep
parente3f228bd5bb0e43bbbdf2a22f796192a887b02b3 (diff)
downloadfork-ledger-93c80afe967aad78fe5fad6ede163460c3c8317e.tar.gz
fork-ledger-93c80afe967aad78fe5fad6ede163460c3c8317e.tar.bz2
fork-ledger-93c80afe967aad78fe5fad6ede163460c3c8317e.zip
Removed a needless Python 2.6ism from acprep
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep5
1 files changed, 4 insertions, 1 deletions
diff --git a/acprep b/acprep
index 2aebe3a6..7426cab3 100755
--- a/acprep
+++ b/acprep
@@ -589,7 +589,10 @@ class PrepareBuild(CommandLineApp):
#########################################################################
def prefix_directory(self):
- return self.prefix_dir if self.prefix_dir else None
+ if self.prefix_dir:
+ return self.prefix_dir
+ else:
+ return None
def default_products_directory(self):
if self.envvars['LEDGER_PRODUCTS']: