mirror of
https://gitlab.com/openlp/packaging.git
synced 2024-12-22 13:02:50 +00:00
Cleanup: use self. directly in args assignment.
This commit is contained in:
parent
caa0e5e90c
commit
0d6b003572
@ -269,15 +269,13 @@ class MacosxBuilder(object):
|
|||||||
Set up a variety of paths that we use throughout the build process.
|
Set up a variety of paths that we use throughout the build process.
|
||||||
"""
|
"""
|
||||||
if self.args.branch:
|
if self.args.branch:
|
||||||
branch_path = os.path.abspath(self.args.branch)
|
self.branch_path = os.path.abspath(self.args.branch)
|
||||||
else:
|
else:
|
||||||
branch_path = self.config.get(u'paths', u'branch')
|
self.branch_path = self.config.get(u'paths', u'branch')
|
||||||
self.branch_path = branch_path
|
|
||||||
if self.args.docs:
|
if self.args.docs:
|
||||||
docs_path = os.path.abspath(self.args.docs)
|
self.docs_path = os.path.abspath(self.args.docs)
|
||||||
else:
|
else:
|
||||||
docs_path = self.config.get(u'paths', u'documentation')
|
self.docs_path = self.config.get(u'paths', u'documentation')
|
||||||
self.docs_path = docs_path
|
|
||||||
|
|
||||||
self.openlp_script = os.path.abspath(
|
self.openlp_script = os.path.abspath(
|
||||||
os.path.join(branch_path, u'openlp.pyw'))
|
os.path.join(branch_path, u'openlp.pyw'))
|
||||||
|
Loading…
Reference in New Issue
Block a user