cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chirad...@apache.org
Subject [10/11] git commit: Flake8 reports on unused imports
Date Wed, 23 Apr 2014 23:59:22 GMT
Flake8 reports on unused imports


Project: http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/commit/c9b1e464
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/tree/c9b1e464
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/diff/c9b1e464

Branch: refs/heads/master
Commit: c9b1e464d62f6f8dd0d768b107f083895f3d4ee2
Parents: 0586e8c
Author: Chiradeep Vittal <chiradeep@apache.org>
Authored: Wed Apr 23 15:44:34 2014 -0700
Committer: Chiradeep Vittal <chiradeep@apache.org>
Committed: Wed Apr 23 15:44:34 2014 -0700

----------------------------------------------------------------------
 cloudmonkey/config.py  | 2 +-
 cloudmonkey/printer.py | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/blob/c9b1e464/cloudmonkey/config.py
----------------------------------------------------------------------
diff --git a/cloudmonkey/config.py b/cloudmonkey/config.py
index e3f38dd..7123969 100644
--- a/cloudmonkey/config.py
+++ b/cloudmonkey/config.py
@@ -28,7 +28,7 @@ try:
     import os
     import sys
 
-    from ConfigParser import ConfigParser, SafeConfigParser
+    from ConfigParser import ConfigParser
     from os.path import expanduser
 except ImportError, e:
     print "ImportError", e

http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/blob/c9b1e464/cloudmonkey/printer.py
----------------------------------------------------------------------
diff --git a/cloudmonkey/printer.py b/cloudmonkey/printer.py
index 925e765..6fe324f 100644
--- a/cloudmonkey/printer.py
+++ b/cloudmonkey/printer.py
@@ -20,8 +20,7 @@ try:
     from pygments import highlight
     from pygments.console import ansiformat
     from pygments.formatter import Formatter
-    from pygments.formatters import Terminal256Formatter
-    from pygments.lexer import bygroups, include, RegexLexer
+    from pygments.lexer import bygroups, RegexLexer
     from pygments.token import *
 
     import sys


Mime
View raw message