/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/errors.py

  • Committer: Szilveszter Farkas (Phanatic)
  • Date: 2006-08-20 14:01:33 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-20060820140133-3b3e5fe5c0d46f7e
Handle permission denied exceptions properly.

2006-08-20  Szilveszter Farkas <Szilveszter.Farkas@gmail.com>

    * olive/frontend/gtk/__init__.py: proper handling of permission denied cases
    * olive/backend/info.py: handle permission denied exception in is_branch()
    * olive/backend/fileops.py: handle permission denied exception in status()
    * olive/backend/errors.py: added PermissionDenied exception

Show diffs side-by-side

added added

removed removed

Lines of Context:
187
187
        commit.push()
188
188
    """
189
189
 
 
190
class PermissionDenied(OliveError):
 
191
    """ Permission denied.
 
192
    
 
193
    May occur in:
 
194
        fileops.status()
 
195
    """
 
196
 
190
197
class PrefixFormatError(OliveError):
191
198
    """ Occurs if the prefix is badly formatted
192
199