Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style fixes #147

Merged
merged 1 commit into from
May 15, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plyer/facades/uniqueid.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class UniqueID(object):
* **OS X**: Serial number of the device
* **Linux**: Serial number using lshw
* **Windows**: MachineGUID from regkey

.. versionadded:: 1.2.0

.. versionchanged:: 1.2.4
Expand Down
5 changes: 3 additions & 2 deletions plyer/platforms/android/uniqueid.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@

Secure = autoclass('android.provider.Settings$Secure')


class AndroidUniqueID(UniqueID):

def _get_uid(self):
return Secure.getString(activity.getContentResolver(),
Secure.ANDROID_ID)
Secure.ANDROID_ID)


def instance():
return AndroidUniqueID()
return AndroidUniqueID()
4 changes: 2 additions & 2 deletions plyer/tools/pep8checker/pep8.py
Original file line number Diff line number Diff line change
Expand Up @@ -1337,11 +1337,11 @@ def check_all(self, expected=None, line_offset=0):
col = offset + pos - part.rfind('\n') + 1
if sre.group(0)[0] == '.':
self.report_error(line, col,
'E289 Too many spaces after period. Use only one.',
'E289 Too many spaces after period. Use only one.',
check=None)
elif sre.group(0)[0] == ',':
self.report_error(line, col,
'E288 Too many spaces after comma. Use only one.',
'E288 Too many spaces after comma. Use only one.',
check=None)
else:
self.report_error(line, col,
Expand Down