Changeset 440
- Timestamp:
- 05/07/08 13:36:44
(8 months ago)
- Author:
- jmowery
- Message:
small typo and logic fix
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r436 |
r440 |
|
| | 1 | import sys |
|---|
| 1 | 2 | import os |
|---|
| 2 | 3 | import ConfigParser |
|---|
| r439 |
r440 |
|
| 240 | 240 | print_enforcing = True |
|---|
| 241 | 241 | print_modules = True |
|---|
| 242 | | break |
|---|
| 243 | 242 | elif arg == 'bools': |
|---|
| 244 | 243 | print_bools = True |
|---|
| … | … | |
| 253 | 252 | clientlist.append(arg) |
|---|
| 254 | 253 | if print_bools: |
|---|
| 255 | | msg.body[1].append('bools') |
|---|
| | 254 | msg.body.append('bools') |
|---|
| 256 | 255 | if print_modules: |
|---|
| 257 | | msg.body[1].append('modules') |
|---|
| | 256 | msg.body.append('modules') |
|---|
| 258 | 257 | if print_enforcing: |
|---|
| 259 | | msg.body[1].append('enforcing') |
|---|
| | 258 | msg.body.append('enforcing') |
|---|
| 260 | 259 | if len(clientlist) == 0: |
|---|
| 261 | 260 | print 'missing valid client ID' |
|---|
| … | … | |
| 288 | 287 | print res.msg |
|---|
| 289 | 288 | print res.body |
|---|
| | 289 | |
|---|
| r436 |
r440 |
|
| 104 | 104 | for file_name, sum in file_list: |
|---|
| 105 | 105 | base = os.path.basename(file_name) |
|---|
| 106 | | scp_command = 'scp ' info[0] + ':' + file_name + ' "' + tmp_dir + '"' |
|---|
| | 106 | scp_command = 'scp ' + info[0] + ':' + file_name + ' "' + tmp_dir + '"' |
|---|
| 107 | 107 | os.system(scp_command) |
|---|
| 108 | 108 | tmp_sum = file_util.checksum(os.path.join(tmp_dir, base)) |
|---|
Download in other formats:
* Generating other formats may take time.