Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

added gettext

  • Loading branch information...
commit 776314d4c357bf169ca08f4ba4566a9fb2be5aa8 1 parent 9cb72a8
Jacques Uber authored November 08, 2012
1  bin/invdns
@@ -5,6 +5,7 @@ sys.path.insert(0, "./")
5 5
 from invdns.options import *
6 6
 from invdns.intr_options import *
7 7
 from invdns.dispatch import build_dns_parsers, dispatch
  8
+from gettext import gettext as _
8 9
 import pdb
9 10
 
10 11
 
2  invdns/dispatch.py
@@ -4,6 +4,7 @@
4 4
 import pdb
5 5
 import requests
6 6
 import simplejson as json
  7
+from gettext import gettext as _
7 8
 from invdns.options import *
8 9
 
9 10
 pp = pprint.PrettyPrinter(indent=4)
@@ -94,7 +95,6 @@ def get_resp_dict(self, resp):
94 95
     def error_out(self, nas, data, resp, resp_list=[]):
95 96
         resp_list.append(str(nas))
96 97
         resp_list.append(str(data))
97  
-        resp_list.append(pprint(vars(resp)))
98 98
         return 1, resp_list
99 99
 
100 100
 

0 notes on commit 776314d

Please sign in to comment.
Something went wrong with that request. Please try again.