| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d1e7cc7 commit 4ed22b1
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,6 +15,8 @@ | |||
| 15 | 15 | # You should have received a copy of the GNU Lesser General Public License | |
| 16 | 16 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 17 | 17 | ||
| 18 | + import functools | ||
| 19 | + | ||
| 18 | 20 | ||
| 19 | 21 | class GitlabError(Exception): | |
| 20 | 22 | def __init__(self, error_message="", response_code=None, | |
@@ -223,6 +225,7 @@ def on_http_error(error): | |||
| 223 | 225 | GitlabError | |
| 224 | 226 | """ | |
| 225 | 227 | def wrap(f): | |
| 228 | + @functools.wraps(f) | ||
| 226 | 229 | def wrapped_f(*args, **kwargs): | |
| 227 | 230 | try: | |
| 228 | 231 | return f(*args, **kwargs) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments