diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2013-06-27 13:35:49 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2013-06-27 13:35:49 -0500 |
commit | 228bf585005b3fbcbbb43270d9a91db9c317e7a9 (patch) | |
tree | d4d83c57209944a38ec939f8edd1cb3ae4a97ac7 /src/lib/Bcfg2/Server | |
parent | e3418f268de507104222a01bf94c450696e1050b (diff) | |
download | bcfg2-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/Bcfg2/Server')
-rw-r--r-- | src/lib/Bcfg2/Server/Plugins/Metadata.py | 3 |
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 |