~gary-lasker/software-center/christhehorton-reviews-crash-fix-lp912855

« back to all changes in this revision

Viewing changes to softwarecenter/backend/rnrclient.py

point to http://reviews.staging.ubuntu.com/reviews/api/1.0 by default now, use https in the submit_reviews.py code

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
# patch default_service_root
35
35
try:
36
36
    from rnrclient_pristine import RatingsAndReviewsAPI, ReviewRequest, ReviewDetails
37
 
    RatingsAndReviewsAPI.default_service_root = SERVER_ROOT+'/reviews/api/1.0'
 
37
    RatingsAndReviewsAPI.default_service_root = SERVER_ROOT
38
38
except:
39
39
    logging.error("need python-piston-mini client\n"
40
40
                  "available in natty or from:\n"