/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-02-13 13:25:21 UTC
  • Revision ID: tim@ed.am-20160213132521-46v5774k6ql7tdfn
fixed uninitialised variable

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