We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42e55e0 commit 94b00ebCopy full SHA for 94b00eb
twine/repository.py
@@ -13,7 +13,7 @@
13
# limitations under the License.
14
from __future__ import absolute_import, unicode_literals, print_function
15
16
-from tqdm import tqdm as tqdm
+from tqdm import tqdm
17
18
import requests
19
from requests import adapters
@@ -36,8 +36,10 @@
36
class ProgressBar(tqdm):
37
38
def update_to(self, n):
39
- """
40
- identical to update, except `n` should be current value and not delta.
+ """Update the bar in the way compatible with requests-toolbelt.
+
41
+ This is identical to tqdm.update, except ``n`` will be the current
42
+ value - not the delta as tqdm expects.
43
"""
44
self.update(n - self.n)
45
0 commit comments