~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to services/diffservice

  • Committer: William Grant
  • Date: 2009-02-25 23:04:11 UTC
  • Revision ID: grantw@unimelb.edu.au-20090225230411-lbdyl32ir0m3d59b
Make all of the services executable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
    try:
61
61
        code = e[1][0][1]
62
62
        # See subversion/include/svn_error_codes.h.
63
 
        # 150000: ERR_ENTRY_NOT_FOUND
64
63
        # 155007: WC_NOT_DIRECTORY.
65
64
        # 160013: FS_NOT_FOUND
66
65
        # 200005: UNVERSIONED_RESOURCE
67
 
        if code in (150000, 155007, 160013, 200005):
 
66
        if code in (155007, 160013, 200005):
68
67
            error = 'notfound'
69
68
        else:
70
69
            error = '%s (code %d)' % (error, code)