1
0
mirror of https://gitlab.com/openlp/packaging.git synced 2024-12-22 04:52:50 +00:00

Cleanup: use self. directly in args assignment.

This commit is contained in:
Martin Zibricky 2012-06-26 21:49:33 +02:00
parent caa0e5e90c
commit 0d6b003572

View File

@ -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'))