Changeset 33:010949d4701d in stamper
- Timestamp:
-
Aug 9, 2014, 5:09:51 PM
(10 years ago)
- Author:
- Borja Lopez <borja@…>
-
Branch:
-
default
-
Phase:
-
public
- Message:
-
Description of the task that has been done can be passed to stamper without
quotation marks.
-
File:
-
Legend:
- Unmodified
- Added
- Removed
-
r27
|
r33
|
|
33 | 33 | if not current_start: |
34 | 34 | current_start = last_stamp['start'] |
| 35 | customer = sys.argv[1] |
| 36 | description = ' '.join(sys.argv[2:]) |
35 | 37 | s.stamp(current_start, datetime.today().strftime(DATETIME_FORMAT), |
36 | | sys.argv[1], sys.argv[2]) |
| 38 | customer, description) |
37 | 39 | |
38 | 40 | else: |