Retrieve manifest_text from API server. If that fails, emit a warning
[arvados.git] / sdk / python / arvados / __init__.py
index 18e762e89ef6c36a83bb72f4bcf124279c1da8d5..b165412d46588e7ef48f4b0ad8e12faf15a06cd5 100644 (file)
@@ -18,28 +18,13 @@ import fcntl
 import time
 import threading
 
-EMPTY_BLOCK_LOCATOR = 'd41d8cd98f00b204e9800998ecf8427e+0'
-
 from api import *
-from stream import *
 from collection import *
 from keep import *
+from stream import *
+import errors
 import util
 
-class errors:
-    class SyntaxError(Exception):
-        pass
-    class AssertionError(Exception):
-        pass
-    class NotFoundError(Exception):
-        pass
-    class CommandFailedError(Exception):
-        pass
-    class KeepWriteError(Exception):
-        pass
-    class NotImplementedError(Exception):
-        pass
-
 def task_set_output(self,s):
     api('v1').job_tasks().update(uuid=self['uuid'],
                                  body={