/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to dulwich/errors.py

  • Committer: Jelmer Vernooij
  • Date: 2009-01-14 18:24:38 UTC
  • mto: (0.222.3 dulwich)
  • mto: This revision was merged to the branch mainline in revision 6960.
  • Revision ID: jelmer@samba.org-20090114182438-c0tn5eczyupi4ztn
Fix download url, add version number.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
# This program is free software; you can redistribute it and/or
5
5
# modify it under the terms of the GNU General Public License
6
6
# as published by the Free Software Foundation; version 2
7
 
# of the License.
 
7
# or (at your option) any later version of the License.
8
8
9
9
# This program is distributed in the hope that it will be useful,
10
10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
70
70
 
71
71
    def __init__(self, *args, **kwargs):
72
72
        Exception.__init__(self, *args, **kwargs)
 
73
 
 
74
 
 
75
class GitProtocolError(Exception):
 
76
    """Git protocol exception."""
 
77
    
 
78
    def __init__(self, *args, **kwargs):
 
79
        Exception.__init__(self, *args, **kwargs)
 
80
 
 
81
 
 
82
class HangupException(GitProtocolError):
 
83
    """Hangup exception."""