summaryrefslogtreecommitdiffstats
path: root/pykolab/cli/telemetry
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/cli/telemetry
parent0ae2417b2c4a614fd70c512b1283be37dd0c31dd (diff)
downloadpykolab-61714a5e0d99ba1bc08eeac7f0ead106d72abae3.tar.gz
Correct some pylint conventions
Diffstat (limited to 'pykolab/cli/telemetry')
-rw-r--r--pykolab/cli/telemetry/cmd_examine_command_issue.py6
-rw-r--r--pykolab/cli/telemetry/cmd_examine_session.py6
-rw-r--r--pykolab/cli/telemetry/cmd_list_sessions.py2
3 files changed, 7 insertions, 7 deletions
diff --git a/pykolab/cli/telemetry/cmd_examine_command_issue.py b/pykolab/cli/telemetry/cmd_examine_command_issue.py
index f4248a0..fc8d3f7 100644
--- a/pykolab/cli/telemetry/cmd_examine_command_issue.py
+++ b/pykolab/cli/telemetry/cmd_examine_command_issue.py
@@ -75,7 +75,7 @@ def execute(*args, **kw):
id=session.server_id
).first()
- print _("Session by %s on server %s") %(user.sasl_username,server.fqdn)
+ print _("Session by %s on server %s") % (user.sasl_username,server.fqdn)
command_issues = db.query(
telemetry.TelemetryCommandIssue
@@ -99,7 +99,7 @@ def execute(*args, **kw):
if command_issue.id == _command_issue.id:
print "========="
- print "Client(%d): %s %s %s" %(
+ print "Client(%d): %s %s %s" % (
_command_issue.id,
_command_issue.command_tag,
command.command,
@@ -116,7 +116,7 @@ def execute(*args, **kw):
server_response_lines = server_response.response.split('\n');
for server_response_line in server_response_lines:
- print "Server(%d): %s" %(
+ print "Server(%d): %s" % (
server_response.id,
server_response_line
)
diff --git a/pykolab/cli/telemetry/cmd_examine_session.py b/pykolab/cli/telemetry/cmd_examine_session.py
index a1273fd..38dac94 100644
--- a/pykolab/cli/telemetry/cmd_examine_session.py
+++ b/pykolab/cli/telemetry/cmd_examine_session.py
@@ -100,7 +100,7 @@ def execute(*args, **kw):
return
- print _("Session by %s on server %s") %(user.sasl_username,server.fqdn)
+ print _("Session by %s on server %s") % (user.sasl_username,server.fqdn)
command_issues = db.query(
telemetry.TelemetryCommandIssue
@@ -121,7 +121,7 @@ def execute(*args, **kw):
id=command_issue.command_arg_id
).first()
- print "Client(%d): %s %s %s" %(
+ print "Client(%d): %s %s %s" % (
command_issue.id,
command_issue.command_tag,
command.command,
@@ -137,7 +137,7 @@ def execute(*args, **kw):
for server_response in server_responses:
server_response_lines = server_response.response.split('\n');
for server_response_line in server_response_lines:
- print "Server(%d): %s" %(
+ print "Server(%d): %s" % (
server_response.id,
server_response_line
)
diff --git a/pykolab/cli/telemetry/cmd_list_sessions.py b/pykolab/cli/telemetry/cmd_list_sessions.py
index 1f6503e..c90ef9d 100644
--- a/pykolab/cli/telemetry/cmd_list_sessions.py
+++ b/pykolab/cli/telemetry/cmd_list_sessions.py
@@ -58,7 +58,7 @@ def execute(*args, **kw):
id=session.user_id
).first()
- print _("Session for user %s started at %s with ID %s") %(
+ print _("Session for user %s started at %s with ID %s") % (
user.sasl_username,
session.start,
session.id