51e127960bac — Peter Sanchez 14 years ago
Moved away from full path imports to avoid any recursive imports
2 files changed, 3 insertions(+), 3 deletions(-)

M zerigodns/__init__.py
M zerigodns/api.py
M zerigodns/__init__.py +1 -1
@@ 1,4 1,4 @@ 
 ''' Copyright 2009 Peter Sanchez <petersanchez@gmail.com>.  
     See BSD-LICENSE for license information.
 '''
-from zerigodns.api import ZerigoError, ZerigoNotFound, NSZone, NSHost
  No newline at end of file
+from api import ZerigoError, ZerigoNotFound, NSZone, NSHost

          
M zerigodns/api.py +2 -2
@@ 6,8 6,8 @@ 
 import base64
 import httplib
 import urlparse
+from parser import Parser
 from urllib import urlencode
-from zerigodns.parser import Parser
 
 
 class ZerigoError(Exception):

          
@@ 424,4 424,4 @@ class NSHost(ZerigoDNS):
         xml = self.send_request(method='GET', id=self.id)
         data = self.parse(xml)
         self.load(data['host'])
-        return self
  No newline at end of file
+        return self