/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to olive/backend/info.py

  • Committer: Szilveszter Farkas (Phanatic)
  • Date: 2006-09-11 02:56:58 UTC
  • mto: (0.14.1 main) (93.1.1 win32.bialix)
  • mto: This revision was merged to the branch mainline in revision 83.
  • Revision ID: Szilveszter.Farkas@gmail.com-20060911025658-997cf3a305b9f1da
A better implementation for the drive selection. (OptionMenu didn't work on Win32)

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
from bzrlib.branch import Branch
23
23
from bzrlib.workingtree import WorkingTree
24
24
 
25
 
from errors import (DifferentBranchesError, NotBranchError, PrefixFormatError,
26
 
                    RevisionValueError)
 
25
from errors import (DifferentBranchesError, NotBranchError, PermissionDenied,
 
26
                    PrefixFormatError, RevisionValueError)
27
27
 
28
28
def diff(revision=None, file_list=None, diff_options=None, prefix=None):
29
29
    """ Save the diff into a temporary file.
257
257
        branch = Branch.open_containing(location)[0]
258
258
    except errors.NotBranchError:
259
259
        return False
 
260
    except errors.PermissionDenied:
 
261
        raise PermissionDenied(location)
260
262
    else:
261
263
        return True
262
264