Skip to content

Commit

Permalink
Merge pull request #13 from karol-brejna-i/config-error
Browse files Browse the repository at this point in the history
Add ConfigError. Reorder imports.
  • Loading branch information
vitogit authored Apr 1, 2021
2 parents 85d10e4 + cac7efd commit 137cca2
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions modules/fishnet/fishnet.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# -*- coding: utf-8 -*-

from __future__ import print_function
from __future__ import division
from __future__ import print_function

import json
import time
import contextlib
import sys
import ctypes
import json
import os
import stat
import platform
import ctypes
import stat
import sys
import time

try:
import httplib
Expand Down Expand Up @@ -260,6 +260,11 @@ def detect_cpu_capabilities():
return modern, bmi2


class ConfigError(Exception):
"""Error in configuration."""
pass


class HttpError(Exception):
def __init__(self, status, reason, body):
self.status = status
Expand Down

0 comments on commit 137cca2

Please sign in to comment.