Skip to content

Commit

Permalink
forgot to handle grp, also changed to work better
Browse files Browse the repository at this point in the history
  • Loading branch information
botanicvelious committed Mar 16, 2017
1 parent 9a80859 commit 6ede1d6
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/damn_at/analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,18 @@
"""
import os
if os.name == 'nt':

class Pwd():
def getpwnam(self, user):
def getpwuid(self, user):
pass
pwd = Pwd()
class Grp():
def getgrgid(self, user):
pass
grp = Grp()
else:
import pwd
if os.name != 'nt':
import grp
import grp
import time
from datetime import datetime

Expand Down

0 comments on commit 6ede1d6

Please sign in to comment.