Skip to content

Instantly share code, notes, and snippets.

@amadorpahim
Created June 4, 2012 11:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amadorpahim/2867874 to your computer and use it in GitHub Desktop.
Save amadorpahim/2867874 to your computer and use it in GitHub Desktop.
31 class LocalFsStorageDomain(fileSD.FileStorageDomain):
32
33 @classmethod
34 def _preCreateValidation(cls, sdUUID, domPath, typeSpecificArg, version):
35 # Some trivial resource validation
36 if os.path.abspath(typeSpecificArg) != typeSpecificArg:
37 raise se.StorageDomainIllegalRemotePath(typeSpecificArg)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment