JiscSD / archivematica

Free and open-source digital preservation system designed to maintain standards-based, long-term access to collections of digital objects.
http://www.archivematica.org
GNU Affero General Public License v3.0
0 stars 0 forks source link

Allow transfer names to begin with a dash #37

Closed helenst closed 6 years ago

helenst commented 6 years ago

This fixes https://github.com/JiscRDSS/rdss-archivematica/issues/98

When the transfer name begins with a dash and is passed as a positional argument, argparse.ArgumentParser tries to treat it as an argument name rather than a value

This is not a problem for:

However, it is a problem for:

I've run database queries to identify the commands that needed changing, and also successfully run a test transfer beginning with a dash.

sevein commented 6 years ago

@helenst I think you need this flake8 change we made in vanilla AM: https://github.com/artefactual/archivematica/pull/768.