/stdhome

To get this branch, use:
bzr branch http://bzr.ed.am/stdhome

« back to all changes in this revision

Viewing changes to lib/stdhome/repo.py

  • Committer: Tim Marston
  • Date: 2014-09-09 19:13:33 UTC
  • Revision ID: tim@ed.am-20140909191333-0b7hrzonxce8mgy3
attempt to allow arguments before main command by treating the first thing that
doesn't look like an option as the command

Show diffs side-by-side

added added

removed removed

39
39
                if os.path.exists( self.full_dir ) != should_exist:
40
40
                        raise the.program.FatalError(
41
41
                                'repository %s exists: %s' % ( condition, self.dir ) )
 
42
 
 
43
        def __str__( self ):
 
44
                return "Repo( %s: %s )" % ( self.name, self.dir )