one less pylint exception
This commit is contained in:
parent
7f7a6a619f
commit
28cccd7574
4 changed files with 4 additions and 5 deletions
|
@ -89,7 +89,6 @@ disable=
|
|||
no-init,
|
||||
no-member,
|
||||
no-self-use,
|
||||
old-style-class,
|
||||
pointless-string-statement,
|
||||
protected-access,
|
||||
redefined-builtin,
|
||||
|
|
|
@ -58,7 +58,7 @@ def upload_asset(release, asset_to_upload, token):
|
|||
count = 0
|
||||
while count < 10:
|
||||
try:
|
||||
return _upload_asset(release, asset_to_upload, token, _requests_uploader)
|
||||
return _upload_asset(release, asset_to_upload, token, _curl_uploader)
|
||||
except Exception:
|
||||
print 'Failed uploading on attempt {}'.format(count + 1)
|
||||
count += 1
|
||||
|
|
|
@ -106,7 +106,7 @@ class IterableContainer(object):
|
|||
return False
|
||||
|
||||
|
||||
class Checker:
|
||||
class Checker(object):
|
||||
"""The looping calls the daemon runs"""
|
||||
INTERNET_CONNECTION = 'internet_connection_checker'
|
||||
VERSION = 'version_checker'
|
||||
|
|
|
@ -20,7 +20,7 @@ class GUID(ctypes.Structure):
|
|||
|
||||
|
||||
# http://msdn.microsoft.com/en-us/library/windows/desktop/dd378457.aspx
|
||||
class FOLDERID:
|
||||
class FOLDERID(object):
|
||||
# pylint: disable=bad-whitespace
|
||||
AccountPictures = UUID('{008ca0b1-55b4-4c56-b8a8-4de4b299d3be}')
|
||||
AdminTools = UUID('{724EF170-A42D-4FEF-9F26-B60E846FBA4F}')
|
||||
|
@ -119,7 +119,7 @@ class FOLDERID:
|
|||
|
||||
|
||||
# http://msdn.microsoft.com/en-us/library/windows/desktop/bb762188.aspx
|
||||
class UserHandle:
|
||||
class UserHandle(object):
|
||||
current = wintypes.HANDLE(0)
|
||||
common = wintypes.HANDLE(-1)
|
||||
|
||||
|
|
Loading…
Reference in a new issue