Skip to content

Commit

Permalink
Merge branch 'pull/34'
Browse files Browse the repository at this point in the history
* Merging pull request apenwarr#34.
  • Loading branch information
Hasimir committed Jun 24, 2015
2 parents 86f45f4 + 24352d8 commit be49fe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def resolvconf_nameservers():
l = []
for line in open('/etc/resolv.conf'):
words = line.lower().split()
if len(words) >= 2 and words[0] == 'nameserver':
if len(words) >= 2 and words[0] == 'nameserver' and words[1].find(':') == -1:
l.append(words[1])
return l

Expand Down

0 comments on commit be49fe8

Please sign in to comment.