summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2013-06-27 13:35:49 -0500
committerSol Jerome <sol.jerome@gmail.com>2013-06-27 13:35:49 -0500
commit228bf585005b3fbcbbb43270d9a91db9c317e7a9 (patch)
treed4d83c57209944a38ec939f8edd1cb3ae4a97ac7 /src/lib
parente3418f268de507104222a01bf94c450696e1050b (diff)
downloadbcfg2-228bf585005b3fbcbbb43270d9a91db9c317e7a9.tar.gz
bcfg2-228bf585005b3fbcbbb43270d9a91db9c317e7a9.tar.bz2
bcfg2-228bf585005b3fbcbbb43270d9a91db9c317e7a9.zip
Metadata: Make pylint happy
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Bcfg2/Server/Plugins/Metadata.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Metadata.py b/src/lib/Bcfg2/Server/Plugins/Metadata.py
index c24c0f22d..6934739a3 100644
--- a/src/lib/Bcfg2/Server/Plugins/Metadata.py
+++ b/src/lib/Bcfg2/Server/Plugins/Metadata.py
@@ -1055,7 +1055,8 @@ class Metadata(Bcfg2.Server.Plugin.Metadata,
raise Bcfg2.Server.Plugin.MetadataConsistencyError(err)
return self.addresses[address][0]
try:
- cname = socket.getnameinfo(addresspair, socket.NI_NAMEREQD)[0].lower()
+ cname = socket.getnameinfo(addresspair,
+ socket.NI_NAMEREQD)[0].lower()
if cname in self.aliases:
return self.aliases[cname]
return cname