diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-03-09 10:37:49 +0000 |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-03-09 10:37:49 +0000 |
commit | 61714a5e0d99ba1bc08eeac7f0ead106d72abae3 (patch) | |
tree | bebe896d1e8bbf8a1e9590bcc20e8580461fb408 /pykolab/plugins/dynamicquota | |
parent | 0ae2417b2c4a614fd70c512b1283be37dd0c31dd (diff) | |
download | pykolab-61714a5e0d99ba1bc08eeac7f0ead106d72abae3.tar.gz |
Correct some pylint conventions
Diffstat (limited to 'pykolab/plugins/dynamicquota')
-rw-r--r-- | pykolab/plugins/dynamicquota/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pykolab/plugins/dynamicquota/__init__.py b/pykolab/plugins/dynamicquota/__init__.py index d19a811..6115dcd 100644 --- a/pykolab/plugins/dynamicquota/__init__.py +++ b/pykolab/plugins/dynamicquota/__init__.py @@ -47,13 +47,13 @@ class KolabDynamicquota(object): for keyword in [ 'used', 'current_quota', 'new_quota', 'default_quota' ]: if not kw.has_key(keyword): - log.warning(_("No keyword %s passed to set_user_folder_quota") %(keyword)) + log.warning(_("No keyword %s passed to set_user_folder_quota") % (keyword)) return 0 else: try: kw[keyword] = (int)(kw[keyword]) except: - log.error(_("Quota '%s' not an integer!") %(keyword)) + log.error(_("Quota '%s' not an integer!") % (keyword)) return 0 # Escape the user without quota |