/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: 2014-07-23 18:47:26 UTC
  • Revision ID: tim@ed.am-20140723184726-plcl9oe1z97durta
during add, ensure parent directories are added

Show diffs side-by-side

added added

removed removed

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 ) : ]