Skip to content

Commit 536fc83

Browse files
committed
fix linting; fix bump version script
1 parent cd3b394 commit 536fc83

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

debian/changelog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
com.github.stsdc.monitor (0.16.1) focal; urgency=low
1+
com.github.stsdc.monitor (0.16.1-0) jammy; urgency=low
22

33
* Fix segfault when user can't be retrieved for process
44

meson/bump_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def bump_meson():
4343
def bump_deb_changelog():
4444
DEB_CHANGELOG_FILENAME = "../debian/changelog"
4545
now = datetime.datetime.now()
46-
deb_changelog_content = f"""com.github.stsdc.monitor ({sys.argv[1]}) focal; urgency=low\n
46+
deb_changelog_content = f"""com.github.stsdc.monitor ({sys.argv[1]}) jammy; urgency=low\n
4747
* <NEW FEATURE>\n -- Stanisław Dac <[email protected]> {now.strftime("%a, %d %b %Y %H:%M:%S %z")} +0000\n\n"""
4848

4949
with open(DEB_CHANGELOG_FILENAME, 'r+') as f_deb_changelog:

src/Managers/Process.vala

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,12 @@ public class Monitor.Process : GLib.Object {
8484
uid = proc_uid.uid;
8585

8686

87-
// getting username
88-
// @TOFIX: Can't get username for postgres when started from docker (?)
89-
unowned Posix.Passwd passwd = Posix.getpwuid (uid);
90-
if (passwd != null){
91-
username = passwd.pw_name;
92-
}
87+
// getting username
88+
// @TOFIX: Can't get username for postgres when started from docker (?)
89+
unowned Posix.Passwd passwd = Posix.getpwuid (uid);
90+
if (passwd != null) {
91+
username = passwd.pw_name;
92+
}
9393

9494

9595
exists = parse_stat () && read_cmdline ();

0 commit comments

Comments
 (0)