Skip to content

Commit

Permalink
Adding a few bug fixes from Gabe.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brett T. Hannigan committed May 27, 2014
1 parent 65a6f36 commit cec0be6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions installer/install_suns.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,9 @@ def connect(port):
credentials=credentials,
virtual_host='suns-vhost'))
try:
connect(5672)
connection = connect(5672)
except:
connect(80)
connection = connect(80)
try:
# Channel Initialization
self.channel = connection.channel()
Expand Down
4 changes: 2 additions & 2 deletions src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,9 @@ def connect(port):
credentials=credentials,
virtual_host='suns-vhost'))
try:
connect(5672)
connection = connect(5672)
except:
connect(80)
connection = connect(80)
try:
# Channel Initialization
self.channel = connection.channel()
Expand Down
3 changes: 3 additions & 0 deletions src/suns_aa_motifs.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,6 @@ def find_suns_atom(obj, selectedAtom):
selectionStatement = get_selection_statement(selectedAtom, key, atom_key[1])

return (key, selectionStatement)

def __init_plugin__(self):
pass

0 comments on commit cec0be6

Please sign in to comment.