Skip to content

Commit d629458

Browse files
committed
Fixing version formatting
1 parent 591e7db commit d629458

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bin/stashcp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import logging
1717
from urlparse import urlparse
1818

1919
# Version information for user-agent
20-
VERSION = "5.1.1"
20+
VERSION = "5.1.2"
2121

2222
main_redirector = "root://redirector.osgstorage.org"
2323
stash_origin = "root://stash.osgconnect.net"
@@ -407,7 +407,7 @@ def get_best_stashcache():
407407
append_text = "api/v1.0/geo/stashcp"
408408

409409
# Headers for the HTTP request
410-
headers = {'Cache-control': 'max-age=0', 'User-Agent': 'stashcp/{}'.format(VERSION)}
410+
headers = {'Cache-control': 'max-age=0', 'User-Agent': 'stashcp/%s' % VERSION }
411411

412412
# Randomize the geo ip sites
413413
random.shuffle(geo_ip_sites)

0 commit comments

Comments
 (0)