aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2012-05-01 09:58:58 +0300
committerFathi Boudra <fathi.boudra@linaro.org>2012-05-01 09:58:58 +0300
commitbdd46dc5b23fa0929bb65fe9fc164791167a8baf (patch)
treed72f9e9bf8d71ae83e1b7dbc4e6fbcf519618293 /scripts
parente1e0c72d122b84d653bb537d51ca8abbad880bd6 (diff)
mp review: 80 columns rule.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/publish_to_snapshots.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/publish_to_snapshots.py b/scripts/publish_to_snapshots.py
index 2342a17..3f4f1fd 100755
--- a/scripts/publish_to_snapshots.py
+++ b/scripts/publish_to_snapshots.py
@@ -133,10 +133,11 @@ class SnapshotsPublisher(object):
header_path = os.path.join(target_path, "HEADER.html")
header_symlink_path = os.path.join(target_dir_path, "HEADER.html")
+ symlink_path = os.path.dirname(target_dir_path)
if args.job_type == "android":
- symlink_path = os.path.join(os.path.dirname(target_dir_path), "lastSuccessful")
+ symlink_path = os.path.join(symlink_path, "lastSuccessful")
else:
- symlink_path = os.path.join(os.path.dirname(target_dir_path), "latest")
+ symlink_path = os.path.join(symlink_path, "latest")
try:
if os.path.islink(symlink_path):