# HG changeset patch # User souliane # Date 1449010648 -3600 # Node ID f0ad3f62bae218b4becd9a9399aa1a1fab38a64c # Parent 103f0f01ba5488eeef9a1d28b605297d3a84e5d4 server_side (blog): pubsub item ID doesn't need to be an UUID diff -r 103f0f01ba54 -r f0ad3f62bae2 src/server/blog.py --- a/src/server/blog.py Tue Dec 01 14:26:53 2015 +0100 +++ b/src/server/blog.py Tue Dec 01 23:57:28 2015 +0100 @@ -169,11 +169,7 @@ if request.postpath[1] == 'atom.xml': # return the atom feed request.atom = True else: - try: # check if the given path is a valid UUID - uuid.UUID(request.postpath[1]) - request.item_id = request.postpath[1] - except ValueError: - pass + request.item_id = request.postpath[1] self.parseURLParamsRSM(request) request.display_single = (request.item_id is not None) or int(request.extra_dict['rsm_max']) == 1