diff --git a/plyer/facades/uniqueid.py b/plyer/facades/uniqueid.py index 9ff83bb2c..d916f01b1 100644 --- a/plyer/facades/uniqueid.py +++ b/plyer/facades/uniqueid.py @@ -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 diff --git a/plyer/platforms/android/uniqueid.py b/plyer/platforms/android/uniqueid.py index 1d77f4a8d..b8561de4a 100644 --- a/plyer/platforms/android/uniqueid.py +++ b/plyer/platforms/android/uniqueid.py @@ -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() \ No newline at end of file + return AndroidUniqueID() diff --git a/plyer/tools/pep8checker/pep8.py b/plyer/tools/pep8checker/pep8.py index 5daeb4339..63a78e259 100644 --- a/plyer/tools/pep8checker/pep8.py +++ b/plyer/tools/pep8checker/pep8.py @@ -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,