~ubuntu-branches/ubuntu/intrepid/moin/intrepid-updates

« back to all changes in this revision

Viewing changes to MoinMoin/util/filesys.py

  • Committer: Bazaar Package Importer
  • Author(s): Sivan Greenberg
  • Date: 2006-07-09 19:28:02 UTC
  • Revision ID: james.westby@ubuntu.com-20060709192802-oaeuvt4v3e9300uj
Tags: 1.5.3-1ubuntu1
* Merge new debian version.
* Reapply Ubuntu changes:
    + debian/rules:
      - Comment out usage of control.ubuntu.in (doesn't fit!).
    + debian/control.in:
      - Dropped python2.3 binary package.
    + debian/control:
      - Dropped python2.3 binary, again.
      - Dropped python2.3-dev from Build-Depends-Indep.
    + debian/patches/001-attachment-xss-fix.patch:
      - Dropped this patch. It's now in upstream's distribution.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
### Misc Helpers
15
15
#############################################################################
16
16
 
 
17
def chmod(name, mode, catchexception=True):
 
18
    try:
 
19
        return os.chmod(name, mode)
 
20
    except OSError:
 
21
        if not catchexception:
 
22
            raise
 
23
 
17
24
def makedirs(name, mode=0777):
18
25
    """ Super-mkdir; create a leaf directory and all intermediate ones.
19
26