diff options
author | Sol Jerome <solj@ices.utexas.edu> | 2009-04-17 01:57:47 +0000 |
---|---|---|
committer | Sol Jerome <solj@ices.utexas.edu> | 2009-04-17 01:57:47 +0000 |
commit | bfff630862e73faf07b79c9b4a504086f663485b (patch) | |
tree | ee81b53e9c705de0d968a56b19163e3a3554bcaf /src/lib/Server/Plugins | |
parent | adf769447b329a3afb49a4873da0ffd93b9d3a58 (diff) | |
download | bcfg2-bfff630862e73faf07b79c9b4a504086f663485b.tar.gz bcfg2-bfff630862e73faf07b79c9b4a504086f663485b.tar.bz2 bcfg2-bfff630862e73faf07b79c9b4a504086f663485b.zip |
Remove unused imports for pylint
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5168 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugins')
-rw-r--r-- | src/lib/Server/Plugins/Editor.py | 2 | ||||
-rw-r--r-- | src/lib/Server/Plugins/Metadata.py | 6 | ||||
-rw-r--r-- | src/lib/Server/Plugins/Snapshots.py | 6 |
3 files changed, 8 insertions, 6 deletions
diff --git a/src/lib/Server/Plugins/Editor.py b/src/lib/Server/Plugins/Editor.py index 088c8a26e..87ba2a416 100644 --- a/src/lib/Server/Plugins/Editor.py +++ b/src/lib/Server/Plugins/Editor.py @@ -1,8 +1,6 @@ import Bcfg2.Server.Plugin -import fileinput import re import lxml.etree -from getopt import getopt def linesub(pattern, repl, filestring): '''Substitutes instances of pattern with repl in filestring''' diff --git a/src/lib/Server/Plugins/Metadata.py b/src/lib/Server/Plugins/Metadata.py index 860bb78d2..86d06d820 100644 --- a/src/lib/Server/Plugins/Metadata.py +++ b/src/lib/Server/Plugins/Metadata.py @@ -1,7 +1,11 @@ '''This file stores persistent metadata for the Bcfg2 Configuration Repository''' __revision__ = '$Revision$' -import lxml.etree, re, socket, time, fcntl, copy +import copy +import fcntl +import lxml.etree +import socket +import time import Bcfg2.Server.Plugin class MetadataConsistencyError(Exception): diff --git a/src/lib/Server/Plugins/Snapshots.py b/src/lib/Server/Plugins/Snapshots.py index 76da48dac..c8d4e31c3 100644 --- a/src/lib/Server/Plugins/Snapshots.py +++ b/src/lib/Server/Plugins/Snapshots.py @@ -1,8 +1,8 @@ -import lxml.etree +#import lxml.etree import binascii import difflib -import sqlalchemy -import sqlalchemy.orm +#import sqlalchemy +#import sqlalchemy.orm import Bcfg2.Server.Plugin import Bcfg2.Server.Snapshots from Bcfg2.Server.Snapshots.model import Snapshot |