Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Commit

Permalink
Merge "Fixes bug where poppy throws a 500 on blank marker"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Jan 5, 2015
2 parents 433507a + ba94438 commit 825a4e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poppy/transport/pecan/controllers/v1/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def get_all(self):
pecan.abort(400, detail=error)

try:
if marker:
if marker is not None:
marker = str(uuid.UUID(marker))
except ValueError:
pecan.abort(400, detail="Marker must be a valid UUID")
Expand Down

0 comments on commit 825a4e1

Please sign in to comment.