diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-03-12 09:23:47 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-03-12 09:53:06 +0200 |
commit | 755c18a11f87040245964cf411ea8f518b61e0f5 (patch) | |
tree | 4cbdc75432af58cc4805d2e0cb65236479389f77 | |
parent | 2a46a1122938e0ffcf28ded131997a405ad67055 (diff) | |
download | obnam2-755c18a11f87040245964cf411ea8f518b61e0f5.tar.gz |
fix: create symlink as requested in test data
Link name/target were swapped. I keep making this mistake even when
checking that I'm doing it the right way.
-rw-r--r-- | subplot/data.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subplot/data.py b/subplot/data.py index 0c1a4a5..8817909 100644 --- a/subplot/data.py +++ b/subplot/data.py @@ -39,7 +39,7 @@ def chmod_file(ctx, filename=None, mode=None): def create_symlink(ctx, linkname=None, target=None): - os.symlink(linkname, target) + os.symlink(target, linkname) def create_manifest_of_live(ctx, dirname=None, manifest=None): |