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

« back to all changes in this revision

Viewing changes to lib/fileservice_lib/action.py

  • Committer: dcoles
  • Date: 2008-02-13 04:10:55 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:443
Added Forum application along with unmodifed version of phpBB3 "Olympus" 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
517
517
        for path in paths:
518
518
            # Note: Property value doesn't matter
519
519
            svnclient.propset("ivle:published", "", path, recurse=False)
520
 
    except pysvn.ClientError, e:
521
 
        raise ActionError("Directory could not be published")
 
520
    except pysvn.ClientError:
 
521
        raise ActionError("One or more files could not be updated")
522
522
 
523
523
def action_svnunpublish(req, fields):
524
524
    """Deletes svn property "ivle:published" on each file specified.
532
532
        for path in paths:
533
533
            svnclient.propdel("ivle:published", path, recurse=False)
534
534
    except pysvn.ClientError:
535
 
        raise ActionError("Directory could not be unpublished")
 
535
        raise ActionError("One or more files could not be updated")
536
536
 
537
537
def action_svncommit(req, fields):
538
538
    """Performs a "svn commit" to each file specified.