Commit 9af4589e authored by Vincent Pelletier's avatar Vincent Pelletier

Allow accessing ServerError.

Otherwise not possible, because of slapos/slap/__init__.py doing
"from slap import *", and that "slap" module being shadowed by
"slapos.slap.slap.slap" class.
parent 666089eb
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
############################################################################## ##############################################################################
__all__ = ["slap", "ComputerPartition", "Computer", "SoftwareRelease", __all__ = ["slap", "ComputerPartition", "Computer", "SoftwareRelease",
"Supply", "OpenOrder", "NotFoundError", "Unauthorized", "Supply", "OpenOrder", "NotFoundError", "Unauthorized",
"ResourceNotReady"] "ResourceNotReady", "ServerError"]
from interface import slap as interface from interface import slap as interface
from xml_marshaller import xml_marshaller from xml_marshaller import xml_marshaller
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment