Did I find the right examples for you? yes no

All Samples(7)  |  Call(4)  |  Derive(0)  |  Import(3)

src/p/y/python-veracity-0.0.11/veracity/objects.py   python-veracity(Download)
from veracity import vv
from veracity import vscript
from veracity.vv import VeracityException
from veracity import settings
 
                vv.run('repo', 'new', self.name)
            else:
                raise VeracityException("repository does not exist: {0}".format(name))
 
    def __repr__(self):
    def __getattr__(self, name):
        if name == 'name':
            raise VeracityException("repository has been deleted")
        else:
            raise AttributeError
                os.chdir(path)
            except OSError:  # path does not exist and no repo specified
                raise VeracityException("invalid path: {0}".format(path))
            else:  # path exists; get the repo from the working copy
                self.repo = Repository(vv.run('repo'))
    def __getattr__(self, name):
        if name == 'path':
            raise VeracityException("working copy has been deleted")
        else:
            raise AttributeError

src/p/y/python-veracity-0.0.11/veracity/test/test_objects.py   python-veracity(Download)
 
from veracity import vv
from veracity.vv import VeracityException
from veracity.vscript import VeracityScriptException
from veracity.objects import identify, keywords