Skip to content

Commit

Permalink
Call super() in all app subclasses
Browse files Browse the repository at this point in the history
  • Loading branch information
therealphildini committed May 23, 2017
1 parent 9f4d90a commit b9b6e6f
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions briefcase/android.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ def finalize_options(self):
if getattr(self, attr) is None:
setattr(self, attr, getattr(finalized, attr))

super(android, self).finalize_options()

# Set platform-specific options
self.platform = 'Android'
self.support_project = "pybee/voc"
Expand Down
2 changes: 2 additions & 0 deletions briefcase/django.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ def finalize_options(self):
if getattr(self, attr) is None:
setattr(self, attr, getattr(finalized, attr))

super(django, self).finalize_options()

# Set platform-specific options
self.platform = 'Django'

Expand Down
2 changes: 2 additions & 0 deletions briefcase/linux.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ def finalize_options(self):
if getattr(self, attr) is None:
setattr(self, attr, getattr(finalized, attr))

super(linux, self).finalize_options()

# Set platform-specific options
self.platform = 'Linux'

Expand Down
2 changes: 2 additions & 0 deletions briefcase/macos.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ def finalize_options(self):
if getattr(self, attr) is None:
setattr(self, attr, getattr(finalized, attr))

super(macos, self).finalize_options()

# Set platform-specific options
self.platform = 'macOS'
self.support_project = "pybee/Python-Apple-Support"
Expand Down
2 changes: 2 additions & 0 deletions briefcase/tvos.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ def finalize_options(self):
if getattr(self, attr) is None:
setattr(self, attr, getattr(finalized, attr))

super(tvos, self).finalize_options()

# Set platform-specific options
self.platform = 'tvOS'
self.support_project = "pybee/Python-Apple-Support"
Expand Down
2 changes: 2 additions & 0 deletions briefcase/watchos.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ def finalize_options(self):
if getattr(self, attr) is None:
setattr(self, attr, getattr(finalized, attr))

super(watchos, self).finalize_options()

# Set platform-specific options
self.platform = 'watchOS'
self.support_project = "pybee/Python-Apple-Support"
Expand Down
2 changes: 2 additions & 0 deletions briefcase/windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ def finalize_options(self):
if getattr(self, attr) is None:
setattr(self, attr, getattr(finalized, attr))

super(windows, self).finalize_options()

# Set platform-specific options
self.platform = 'Windows'
self.support_project = "pybee/Python-Microsoft-Support"
Expand Down

0 comments on commit b9b6e6f

Please sign in to comment.