ladok3 4.11__py3-none-any.whl → 4.12__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ladok3 might be problematic. Click here for more details.
- doc/ltxobj/ladok3.pdf +0 -0
- ladok3/cli.nw +4 -2
- ladok3/cli.py +4 -2
- {ladok3-4.11.dist-info → ladok3-4.12.dist-info}/METADATA +1 -1
- {ladok3-4.11.dist-info → ladok3-4.12.dist-info}/RECORD +8 -8
- {ladok3-4.11.dist-info → ladok3-4.12.dist-info}/LICENSE +0 -0
- {ladok3-4.11.dist-info → ladok3-4.12.dist-info}/WHEEL +0 -0
- {ladok3-4.11.dist-info → ladok3-4.12.dist-info}/entry_points.txt +0 -0
doc/ltxobj/ladok3.pdf
CHANGED
|
Binary file
|
ladok3/cli.nw
CHANGED
|
@@ -570,7 +570,7 @@ try:
|
|
|
570
570
|
"username": os.environ["LADOK_USER"],
|
|
571
571
|
"password": os.environ["LADOK_PASS"]
|
|
572
572
|
}
|
|
573
|
-
if institution and vars:
|
|
573
|
+
if institution and vars["username"] and vars["password"]:
|
|
574
574
|
return institution, vars
|
|
575
575
|
except:
|
|
576
576
|
pass
|
|
@@ -585,7 +585,9 @@ try:
|
|
|
585
585
|
vars = {}
|
|
586
586
|
for key in vars_keys.split(":"):
|
|
587
587
|
try:
|
|
588
|
-
|
|
588
|
+
value = os.environ[key]
|
|
589
|
+
if value:
|
|
590
|
+
vars[key] = value
|
|
589
591
|
except KeyError:
|
|
590
592
|
<<print warning about missing variable in [[LADOK_VARS]]>>
|
|
591
593
|
|
ladok3/cli.py
CHANGED
|
@@ -255,7 +255,7 @@ def load_credentials(filename="config.json"):
|
|
|
255
255
|
"username": os.environ["LADOK_USER"],
|
|
256
256
|
"password": os.environ["LADOK_PASS"],
|
|
257
257
|
}
|
|
258
|
-
if institution and vars:
|
|
258
|
+
if institution and vars["username"] and vars["password"]:
|
|
259
259
|
return institution, vars
|
|
260
260
|
except:
|
|
261
261
|
pass
|
|
@@ -265,7 +265,9 @@ def load_credentials(filename="config.json"):
|
|
|
265
265
|
vars = {}
|
|
266
266
|
for key in vars_keys.split(":"):
|
|
267
267
|
try:
|
|
268
|
-
|
|
268
|
+
value = os.environ[key]
|
|
269
|
+
if value:
|
|
270
|
+
vars[key] = value
|
|
269
271
|
except KeyError:
|
|
270
272
|
warn(f"Variable {key} not set, ignoring.")
|
|
271
273
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
doc/ltxobj/ladok3.pdf,sha256=
|
|
1
|
+
doc/ltxobj/ladok3.pdf,sha256=KL6Tkwv2CkkJvrYsYUDKNtbWXqHAzjiQEMxxHrRCRIk,1408326
|
|
2
2
|
ladok3/.gitignore,sha256=QOcCshtjIsFasi4vaqFcooBWPJkxVWaoYEWOBBtdY_w,81
|
|
3
3
|
ladok3/Makefile,sha256=Jy6OFjoVLU9YivnVxctxI_zrUOK9ysEOiistJ3ST6Nw,557
|
|
4
4
|
ladok3/__init__.py,sha256=3z1Lys2ygnuDyYFvm4O4Um6vgYud470W3xX4gYJ4bMc,245725
|
|
5
5
|
ladok3/api.nw,sha256=pHFU8T2tr2N4kJfyo7uKzNd1lpkd7KICK8lHzV6b1-Y,43304
|
|
6
|
-
ladok3/cli.nw,sha256=
|
|
7
|
-
ladok3/cli.py,sha256=
|
|
6
|
+
ladok3/cli.nw,sha256=SD75vD-uSn-0yo6aOIUY4lgx9EjQf4M-HPHFZrNHMG0,22449
|
|
7
|
+
ladok3/cli.py,sha256=1oUlrI9N7ooGfB-pYt1rkCCX9YKatb4MwP9ivGniK00,12186
|
|
8
8
|
ladok3/data.nw,sha256=3o6-kmeMtCGoSJ5yL8qFCuIINQeym_WtW_2mhItuR-s,11785
|
|
9
9
|
ladok3/data.py,sha256=kPRO9l5DTQb9lGnN2kU-YYPSyg31t0bq5HCw986hbPk,6747
|
|
10
10
|
ladok3/ladok.bash,sha256=zGfTFdtos2zLjV13pzfK-1uCy2b_lF2qUKMoL2ExW7c,1441
|
|
@@ -14,8 +14,8 @@ ladok3/report.py,sha256=1K7cRaedemiOGDDAMI9wqnctLeic5ZlMYHw5hzhnvQw,5627
|
|
|
14
14
|
ladok3/student.nw,sha256=zayn9_b9jCKeMnZxSGS_EuSmF3ojOBHQDMUMMkpRssI,3747
|
|
15
15
|
ladok3/student.py,sha256=TaYn2rpbQnzummB-8xz-sUEV31Gh0CUmU0QkF6VgEic,1703
|
|
16
16
|
ladok3/undoc.nw,sha256=NyHuVIzrRqJPM39MyAlZNEE7PbXdUDJFQ2kJ0NfdwQI,180333
|
|
17
|
-
ladok3-4.
|
|
18
|
-
ladok3-4.
|
|
19
|
-
ladok3-4.
|
|
20
|
-
ladok3-4.
|
|
21
|
-
ladok3-4.
|
|
17
|
+
ladok3-4.12.dist-info/LICENSE,sha256=s_C5qznXAvDRrzU7vRd4eqzshyIkAfPwGyVBihGeOdM,1155
|
|
18
|
+
ladok3-4.12.dist-info/METADATA,sha256=2FZemXYNZcWIVuygpwfKm6UMI6UfmOFWnX8ONF4KVx4,8822
|
|
19
|
+
ladok3-4.12.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
20
|
+
ladok3-4.12.dist-info/entry_points.txt,sha256=pi-KKP5Obo0AyuDjXQUpadS9kIvAY2_5ORhPgEYlJv8,41
|
|
21
|
+
ladok3-4.12.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|