summaryrefslogtreecommitdiffstats
path: root/error.py
diff options
context:
space:
mode:
Diffstat (limited to 'error.py')
-rw-r--r--error.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/error.py b/error.py
index 20d5f725..2fb6aa0f 100644
--- a/error.py
+++ b/error.py
@@ -37,7 +37,7 @@ class NoManifestException(Exception):
37 """ 37 """
38 38
39 def __init__(self, path, reason): 39 def __init__(self, path, reason):
40 super(NoManifestException, self).__init__(path, reason) 40 super().__init__(path, reason)
41 self.path = path 41 self.path = path
42 self.reason = reason 42 self.reason = reason
43 43
@@ -50,7 +50,7 @@ class EditorError(Exception):
50 """ 50 """
51 51
52 def __init__(self, reason): 52 def __init__(self, reason):
53 super(EditorError, self).__init__(reason) 53 super().__init__(reason)
54 self.reason = reason 54 self.reason = reason
55 55
56 def __str__(self): 56 def __str__(self):
@@ -62,7 +62,7 @@ class GitError(Exception):
62 """ 62 """
63 63
64 def __init__(self, command): 64 def __init__(self, command):
65 super(GitError, self).__init__(command) 65 super().__init__(command)
66 self.command = command 66 self.command = command
67 67
68 def __str__(self): 68 def __str__(self):
@@ -74,7 +74,7 @@ class UploadError(Exception):
74 """ 74 """
75 75
76 def __init__(self, reason): 76 def __init__(self, reason):
77 super(UploadError, self).__init__(reason) 77 super().__init__(reason)
78 self.reason = reason 78 self.reason = reason
79 79
80 def __str__(self): 80 def __str__(self):
@@ -86,7 +86,7 @@ class DownloadError(Exception):
86 """ 86 """
87 87
88 def __init__(self, reason): 88 def __init__(self, reason):
89 super(DownloadError, self).__init__(reason) 89 super().__init__(reason)
90 self.reason = reason 90 self.reason = reason
91 91
92 def __str__(self): 92 def __str__(self):
@@ -98,7 +98,7 @@ class NoSuchProjectError(Exception):
98 """ 98 """
99 99
100 def __init__(self, name=None): 100 def __init__(self, name=None):
101 super(NoSuchProjectError, self).__init__(name) 101 super().__init__(name)
102 self.name = name 102 self.name = name
103 103
104 def __str__(self): 104 def __str__(self):
@@ -112,7 +112,7 @@ class InvalidProjectGroupsError(Exception):
112 """ 112 """
113 113
114 def __init__(self, name=None): 114 def __init__(self, name=None):
115 super(InvalidProjectGroupsError, self).__init__(name) 115 super().__init__(name)
116 self.name = name 116 self.name = name
117 117
118 def __str__(self): 118 def __str__(self):
@@ -128,7 +128,7 @@ class RepoChangedException(Exception):
128 """ 128 """
129 129
130 def __init__(self, extra_args=None): 130 def __init__(self, extra_args=None):
131 super(RepoChangedException, self).__init__(extra_args) 131 super().__init__(extra_args)
132 self.extra_args = extra_args or [] 132 self.extra_args = extra_args or []
133 133
134 134