##// END OF EJS Templates
Fixed sync without specifying tags filter
neko259 -
r1845:b8a95ef7 default
parent child Browse files
Show More
@@ -59,8 +59,14 b' class Command(BaseCommand):'
59 59 else:
60 60 logger.info('Running LIST request...')
61 61 h = httplib2.Http()
62
63 tags = []
64 tags_str = options.get('tags')
65 if tags_str:
66 tags = tags_str.split(',')
67
62 68 xml = SyncManager.generate_request_list(
63 opening_post=options.get('thread'), tags=options.get('tags').split(',')).encode()
69 opening_post=options.get('thread'), tags=tags).encode()
64 70 response, content = h.request(list_url, method="POST", body=xml)
65 71 if response.status != 200:
66 72 raise Exception('Server returned error {}'.format(response.status))
General Comments 0
You need to be logged in to leave comments. Login now