Skip to content

Commit

Permalink
add exception handling for import queue, python2.7 uses capital Q, bu…
Browse files Browse the repository at this point in the history
…mp release version (#123)

Co-authored-by: Jonathan Cross <>
  • Loading branch information
jrxFive authored Sep 3, 2021
1 parent f6dcba8 commit 768c57e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion nomad/api/event.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
import json
import threading
import queue

import requests

from nomad.api.base import Requester
from nomad.api.exceptions import TimeoutNomadException

try:
import queue
except ImportError:
import Queue as queue


class Event(object):

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name='python-nomad',
version='1.3.0',
version='1.4.1',
install_requires=['requests'],
packages=['nomad', 'nomad.api'],
url='http://github.com/jrxfive/python-nomad',
Expand Down

0 comments on commit 768c57e

Please sign in to comment.