diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-04-11 11:58:46 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2014-04-11 11:58:46 +0200 |
commit | 0424017acbd34e14a33002e130c618c5dd6df222 (patch) | |
tree | 950e911cbf3d1ede76c01f63c18d49f3e4472645 /module/plugins/hoster/StreamcloudEu.py | |
parent | Change Solvmedia to Solvemedia (diff) | |
download | pyload-0424017acbd34e14a33002e130c618c5dd6df222.tar.xz |
Replace range with xrange
Merges vuolter/pyload@a50c8ff
Diffstat (limited to 'module/plugins/hoster/StreamcloudEu.py')
-rw-r--r-- | module/plugins/hoster/StreamcloudEu.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/StreamcloudEu.py b/module/plugins/hoster/StreamcloudEu.py index 670962ad5..a61588508 100644 --- a/module/plugins/hoster/StreamcloudEu.py +++ b/module/plugins/hoster/StreamcloudEu.py @@ -27,7 +27,7 @@ class StreamcloudEu(XFileSharingPro): if found: return found.group(1) - for i in range(5): + for i in xrange(5): self.logDebug("Getting download link: #%d" % i) data = self.getPostParameters() httpRequest = HTTPRequest(options=self.req.options) @@ -53,7 +53,7 @@ class StreamcloudEu(XFileSharingPro): return found.group(1) def getPostParameters(self): - for i in range(3): + for _ in xrange(3): if not self.errmsg: self.checkErrors() |