summaryrefslogtreecommitdiffstats
path: root/pykolab/plugins/dynamicquota
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-03-09 10:37:49 +0000
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-03-09 10:37:49 +0000
commit61714a5e0d99ba1bc08eeac7f0ead106d72abae3 (patch)
treebebe896d1e8bbf8a1e9590bcc20e8580461fb408 /pykolab/plugins/dynamicquota
parent0ae2417b2c4a614fd70c512b1283be37dd0c31dd (diff)
downloadpykolab-61714a5e0d99ba1bc08eeac7f0ead106d72abae3.tar.gz
Correct some pylint conventions
Diffstat (limited to 'pykolab/plugins/dynamicquota')
-rw-r--r--pykolab/plugins/dynamicquota/__init__.py4
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