mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
*: pylint: Don't inherit from 'object'
- This was required in Python 2 but useless in Python 3. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
c73f88b925
commit
bfa11beb73
6 files changed
+6
-6
No files matched your search
+1
-1
@@ -89,7 +89,7 @@ def is_user_admin(request, cached=False):
|
||||
return user_is_admin
|
||||
|
||||
|
||||
class YAMLFile(object):
|
||||
class YAMLFile:
|
||||
"""A context management class for updating YAML files"""
|
||||
|
||||
def __init__(self, yaml_file):
|
||||
|
||||
Reference in new issue
Block a user