diff options
author | Danilo Segan <danilo@canonical.com> | 2012-08-22 20:20:47 +0200 |
---|---|---|
committer | Danilo Segan <danilo@canonical.com> | 2012-08-22 20:20:47 +0200 |
commit | 67dd3bd71debc60a8007f28e756317f8fc13250a (patch) | |
tree | 556b216bb2247d92f10934108852d0d5e067c02c /scripts | |
parent | c7a38260fd72efa8eee0bf1308dbd3bb6d01a2e7 (diff) |
Start on sanitize_file method.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/publish_to_snapshots.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/publish_to_snapshots.py b/scripts/publish_to_snapshots.py index 3d486d6..f62a5e0 100755 --- a/scripts/publish_to_snapshots.py +++ b/scripts/publish_to_snapshots.py @@ -60,6 +60,11 @@ class SnapshotsPublisher(object): return True return False + @classmethod + def sanitize_file(cls, file_path): + """This truncates the file and fills it with its own filename.""" + pass + def validate_args(self, args): # Validate that all the required information # is passed on the command line |