update-python-libraries: handle other format
This commit is contained in:
parent
bff8343481
commit
7181aca6d9
@ -194,6 +194,8 @@ def _determine_extension(text, fetcher):
|
||||
src_format = 'setuptools'
|
||||
elif src_format == 'flit':
|
||||
raise ValueError("Don't know how to update a Flit package.")
|
||||
elif src_format == 'other':
|
||||
raise ValueError("Don't know how to update a format='other' package.")
|
||||
extension = FORMATS[src_format]
|
||||
|
||||
elif fetcher == 'fetchurl':
|
||||
@ -326,4 +328,4 @@ def main():
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
main()
|
||||
|
Loading…
Reference in New Issue
Block a user