| OLD | NEW |
| 1 #!/usr/bin/python | 1 #!/usr/bin/python |
| 2 """ | 2 """ |
| 3 Client for file transfer services offered by RSS (Remote Shell Server). | 3 Client for file transfer services offered by RSS (Remote Shell Server). |
| 4 | 4 |
| 5 @author: Michael Goldish (mgoldish@redhat.com) | 5 @author: Michael Goldish (mgoldish@redhat.com) |
| 6 @copyright: 2008-2010 Red Hat Inc. | 6 @copyright: 2008-2010 Red Hat Inc. |
| 7 """ | 7 """ |
| 8 | 8 |
| 9 import socket, struct, time, sys, os, glob | 9 import socket, struct, time, sys, os, glob |
| 10 | 10 |
| (...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 510 logger = p | 510 logger = p |
| 511 | 511 |
| 512 if options.download: | 512 if options.download: |
| 513 download(address, port, src_pattern, dst_path, logger, options.timeout) | 513 download(address, port, src_pattern, dst_path, logger, options.timeout) |
| 514 elif options.upload: | 514 elif options.upload: |
| 515 upload(address, port, src_pattern, dst_path, logger, options.timeout) | 515 upload(address, port, src_pattern, dst_path, logger, options.timeout) |
| 516 | 516 |
| 517 | 517 |
| 518 if __name__ == "__main__": | 518 if __name__ == "__main__": |
| 519 main() | 519 main() |
| OLD | NEW |