/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/command/command.py

  • Committer: Tim Marston
  • Date: 2016-04-10 17:42:36 UTC
  • Revision ID: tim@ed.am-20160410174236-708ckdxils6m2ndv
added tools

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
                        # check the file is in the home directory
51
51
                        if abs_file[ : len( home_dir_prefix ) ] != home_dir_prefix:
52
52
                                raise the.program.FatalError(
53
 
                                        'not in home directory: %s' % abs_file )
 
53
                                        'not under home directory: %s' % abs_file )
54
54
 
55
55
                        # relative file
56
56
                        rel_file = abs_file[ len( home_dir_prefix ) : ]