Commits

Anonymous committed b759a67

change in import so you could now have exceptions ...

  • Participants
  • Parent commits 4416b5f

Comments (0)

Files changed (2)

File restclient/__init__.py

     __version__ = '?'
 
 
-from restclient.rest import Resource, RestClient
+from restclient.rest import * 
 
 

File restclient/rest.py

 from restclient.http import getDefaultHTTPClient, HTTPClient 
 
 
-__all__ = ['Resource', 'RestClient', 'RestClientFactory', 'ResourceNotFound', \
-        'Unauthorised', 'RequestFailed']
+__all__ = ['Resource', 'RestClient', 'ResourceNotFound', \
+        'Unauthorized', 'RequestFailed', 'ResourceError',
+        'ResourceResult']
 __docformat__ = 'restructuredtext en'