Will keep in mind but not sure any other way is possible
On Nov 28, 2013 9:09 PM, "Michael Tom-Wing" <notifications@github.com>
wrote:

> In src/freeseer/framework/youtube.py:
>
> > +from apiclient.http import MediaFileUpload
> > +from oauth2client import file
> > +from oauth2client import client
> > +from oauth2client import tools
> > +
> > +# For logging and debugging
> > +log = logging.getLogger(__name__)
> > +
> > +
> > +class YoutubeService(object):
> > +
> > +    def __init__(self):
> > +        # Tell the underlying HTTP transport library not to retry, we want
> > +        # explicit control over the retry logic and to only retry on
> > +        # errors/exceptions specified by Google
> > +        httplib2.RETRIES = 1
>
> Maybe there's a better way to do this. IMO it's generally frowned upon to
> modify global state like this.
>
> Maybe you can override that value via some argument when you actually make
> the request.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Freeseer/freeseer/pull/402/files#r7994154>
> .
>