Skip to content

Commit

Permalink
python3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
gruzchik committed Mar 10, 2021
1 parent e8cd6ea commit 71deaba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions check_quotas.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/python

import os
import subprocess
Expand All @@ -14,7 +14,7 @@
p = subprocess.Popen('repquota -u /home', shell=True, executable='/bin/bash', stdout=PIPE, stderr=subprocess.STDOUT)

info = p.stdout.read()
print info
print(info)

allstring = info.split('\n')
n = list(allstring)
Expand Down

0 comments on commit 71deaba

Please sign in to comment.