Skip to content

Commit

Permalink
Fixes Travis geonode-selenium build
Browse files Browse the repository at this point in the history
  • Loading branch information
afabiani committed Feb 21, 2019
1 parent fca593a commit 9ae8535
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ install:

before_script:
- if [ "$TEST_RUN_SELENIUM" = "True" ]; then
true;
sudo service nginx stop;
else
echo "Initialize DB";
psql -U postgres -c "create extension postgis";
Expand Down
5 changes: 2 additions & 3 deletions geonode/messaging/consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,9 @@ def on_geoserver_messages(self, body, message):
except Layer.DoesNotExist as err:
logger.debug(err)
return
# try:

geoserver_post_save_local(layer)
# except Exception, err:
# logger.error("Cannot handle geoserver message: %s", err, exc_info=err)

# Not sure if we need to send ack on this fanout version.
message.ack()
logger.debug("on_geoserver_messages: finished")
Expand Down

0 comments on commit 9ae8535

Please sign in to comment.