DIRACGrid / COMDIRAC

Package to supply a comprehensive list of commands for the DIRAC user interface
GNU General Public License v3.0
2 stars 6 forks source link

Avoid code duplication dls w/ fcCLI #46

Closed calancha closed 8 years ago

calancha commented 8 years ago

The goal of present PR consist on:

1) Avoid duplication of code between dls.py and FileCatalogClientCLI.py. Move class DirectoryListing into new file CLIUtilities. In fact, after second commit, dls doesn't depend on CLIUtilities.py.

2) Pass all arguments to fcCLI:do_ls with just one function call.

calancha commented 8 years ago

Closing because this pull is connected with a pull on DIRAC (https://github.com/DIRACGrid/DIRAC/pull/2734) which has being rejected: that PR was rejected mainly because it was on a old DIRAC release.