Permalink
Browse files

added gettext

  • Loading branch information...
1 parent 9cb72a8 commit 776314d4c357bf169ca08f4ba4566a9fb2be5aa8 @uberj uberj committed Nov 9, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −0 bin/invdns
  2. +1 −1 invdns/dispatch.py
View
@@ -5,6 +5,7 @@ sys.path.insert(0, "./")
from invdns.options import *
from invdns.intr_options import *
from invdns.dispatch import build_dns_parsers, dispatch
+from gettext import gettext as _
import pdb
View
@@ -4,6 +4,7 @@
import pdb
import requests
import simplejson as json
+from gettext import gettext as _
from invdns.options import *
pp = pprint.PrettyPrinter(indent=4)
@@ -94,7 +95,6 @@ def get_resp_dict(self, resp):
def error_out(self, nas, data, resp, resp_list=[]):
resp_list.append(str(nas))
resp_list.append(str(data))
- resp_list.append(pprint(vars(resp)))
return 1, resp_list

0 comments on commit 776314d

Please sign in to comment.