From 0d6b003572635c465e6cf469bce6c000c3dc14b6 Mon Sep 17 00:00:00 2001 From: Martin Zibricky Date: Tue, 26 Jun 2012 21:49:33 +0200 Subject: [PATCH] Cleanup: use self. directly in args assignment. --- osx/macosx-builder.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/osx/macosx-builder.py b/osx/macosx-builder.py index 74d319d..b76e676 100644 --- a/osx/macosx-builder.py +++ b/osx/macosx-builder.py @@ -269,15 +269,13 @@ class MacosxBuilder(object): Set up a variety of paths that we use throughout the build process. """ if self.args.branch: - branch_path = os.path.abspath(self.args.branch) + self.branch_path = os.path.abspath(self.args.branch) else: - branch_path = self.config.get(u'paths', u'branch') - self.branch_path = branch_path + self.branch_path = self.config.get(u'paths', u'branch') if self.args.docs: - docs_path = os.path.abspath(self.args.docs) + self.docs_path = os.path.abspath(self.args.docs) else: - docs_path = self.config.get(u'paths', u'documentation') - self.docs_path = docs_path + self.docs_path = self.config.get(u'paths', u'documentation') self.openlp_script = os.path.abspath( os.path.join(branch_path, u'openlp.pyw'))