66try :
77 from . import stone_validators as bv
88 from . import stone_base as bb
9- except (SystemError , ValueError ):
9+ except (ImportError , SystemError , ValueError ):
1010 # Catch errors raised when importing a relative module when not in a package.
1111 # This makes testing this file directly (outside of a package) easier.
1212 import stone_validators as bv
@@ -196,10 +196,11 @@ class RootInfo(object):
196196 """
197197 Information about current user's root.
198198
199- :ivar root_namespace_id: The namespace id for user's root namespace. It will
200- be the namespace id of the shared team root if the user is member of a
201- CDM team. Otherwise it will be same as ``RootInfo.home_namespace_id``.
202- :ivar home_namespace_id: The namespace id for user's home namespace.
199+ :ivar root_namespace_id: The namespace ID for user's root namespace. It will
200+ be the namespace ID of the shared team root if the user is member of a
201+ team with a separate team root. Otherwise it will be same as
202+ ``RootInfo.home_namespace_id``.
203+ :ivar home_namespace_id: The namespace ID for user's home namespace.
203204 """
204205
205206 __slots__ = [
@@ -226,9 +227,9 @@ def __init__(self,
226227 @property
227228 def root_namespace_id (self ):
228229 """
229- The namespace id for user's root namespace. It will be the namespace id
230- of the shared team root if the user is member of a CDM team. Otherwise
231- it will be same as ``RootInfo.home_namespace_id``.
230+ The namespace ID for user's root namespace. It will be the namespace ID
231+ of the shared team root if the user is member of a team with a separate
232+ team root. Otherwise it will be same as ``RootInfo.home_namespace_id``.
232233
233234 :rtype: str
234235 """
@@ -251,7 +252,7 @@ def root_namespace_id(self):
251252 @property
252253 def home_namespace_id (self ):
253254 """
254- The namespace id for user's home namespace.
255+ The namespace ID for user's home namespace.
255256
256257 :rtype: str
257258 """
@@ -281,7 +282,7 @@ def __repr__(self):
281282
282283class TeamRootInfo (RootInfo ):
283284 """
284- Root info when user is member of a CDM team.
285+ Root info when user is member of a team with a separate root namespace ID .
285286
286287 :ivar home_path: The path for user's home directory under the shared team
287288 root.
@@ -339,7 +340,8 @@ def __repr__(self):
339340
340341class UserRootInfo (RootInfo ):
341342 """
342- Root info when user is not member of a CDM team.
343+ Root info when user is not member of a team or the user is a member of a
344+ team and the team does not have a separate root namespace.
343345 """
344346
345347 __slots__ = [
0 commit comments