Skip to content

Commit

Permalink
little up: remove duplicate string in get_linux_distro
Browse files Browse the repository at this point in the history
  • Loading branch information
tristiisch committed Nov 22, 2023
1 parent cfcd2b6 commit 46da8e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pyramid/data/functional/application_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class ApplicationInfo:
def __init__(self):
self.name = "pyramid"
self.os = get_os().lower()
self.version = "0.3.1"
self.version = "0.3.2"
self.git_info = GitInfo()

def load_git_info(self):
Expand Down Expand Up @@ -59,6 +59,6 @@ def __get_linux_distro() -> str:
if line.startswith("PRETTY_NAME"):
dist_info = line.split("=")[1].strip().strip('"')
return dist_info
return "Linux distribution information not available."
except FileNotFoundError:
return "Linux distribution information not available."
pass
return "Linux distribution information not available."

0 comments on commit 46da8e3

Please sign in to comment.