diff options
| author | Jeremy Bicha <jeremy.bicha@canonical.com> | 2023-01-04 18:29:22 -0500 |
|---|---|---|
| committer | Jeremy Bicha <jeremy.bicha@canonical.com> | 2023-01-04 18:29:22 -0500 |
| commit | b40fb4d87dea97023ceae223cc8f3ded60726fe0 (patch) | |
| tree | 26768660a2db4134bde3c42e99bf1c84fb631adf /examples | |
| parent | 47995cc5a8e379555be2d010c4201bdc56c8fca4 (diff) | |
| parent | b2ca000f0e0a915aba25f7d16b34bd092055ad59 (diff) | |
Merge tag 'debian/1.40.8-1' into ubuntu/master
network-manager Debian release 1.40.8-1
Diffstat (limited to 'examples')
| -rwxr-xr-x | examples/python/gi/checkpoint.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/python/gi/checkpoint.py b/examples/python/gi/checkpoint.py index 6f3194cd..6e94b07c 100755 --- a/examples/python/gi/checkpoint.py +++ b/examples/python/gi/checkpoint.py @@ -80,10 +80,10 @@ def find_checkpoint_last(nmc): def validate_path(path, nmc): if path == "--last": - path = find_checkpoint_last(nmc) - if path is None: + c = find_checkpoint_last(nmc) + if c is None: sys.exit("Has no checkpoint") - return path + return c.get_path() try: num = int(path) |