mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-16 01:21:07 +00:00
Correct typo from r686. dcs -> dsc
This commit is contained in:
parent
4ac351c1f6
commit
6f78086089
@ -138,7 +138,7 @@ def dsc_getfiles(dscurl):
|
|||||||
dsc = debian.deb822.Dsc(urllib.urlopen(dscurl))
|
dsc = debian.deb822.Dsc(urllib.urlopen(dscurl))
|
||||||
|
|
||||||
if 'Files' not in dsc:
|
if 'Files' not in dsc:
|
||||||
print >> sys.stderr, "%s: Error: No Files field found in the dcs file. Please check %s!" % \
|
print >> sys.stderr, "%s: Error: No Files field found in the dsc file. Please check %s!" % \
|
||||||
(script_name, os.path.basename(dscurl))
|
(script_name, os.path.basename(dscurl))
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
@ -181,7 +181,7 @@ def sync_dsc(script_name, dscurl, debian_dist, release, name, email, bugs, keyid
|
|||||||
urllib.urlretrieve(dscurl, dscname)
|
urllib.urlretrieve(dscurl, dscname)
|
||||||
dscfile = debian.deb822.Dsc(file(dscname))
|
dscfile = debian.deb822.Dsc(file(dscname))
|
||||||
if "Version" not in dscfile:
|
if "Version" not in dscfile:
|
||||||
print >> sys.stderr, "%s: Error: No Version field found in the dcs file. Please check %s!" % \
|
print >> sys.stderr, "%s: Error: No Version field found in the dsc file. Please check %s!" % \
|
||||||
(script_name, dscname)
|
(script_name, dscname)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
new_ver = Version(dscfile["Version"])
|
new_ver = Version(dscfile["Version"])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user