forked from p-e-w/maybe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use relative imports, fixing installation with Python 3
- Loading branch information
Showing
3 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
#!/usr/bin/env python | ||
|
||
# maybe - see what a program does before deciding whether you really want it to happen | ||
# | ||
# Copyright (c) 2016 Philipp Emanuel Weidmann <[email protected]> | ||
|
@@ -22,8 +20,8 @@ | |
from ptrace.syscall.posix_constants import SYSCALL_ARG_DICT | ||
from ptrace.syscall.syscall_argument import ARGUMENT_CALLBACK | ||
|
||
from syscall_filters import SYSCALL_FILTERS | ||
from utilities import T, SYSCALL_REGISTER, RETURN_VALUE_REGISTER | ||
from .syscall_filters import SYSCALL_FILTERS | ||
from .utilities import T, SYSCALL_REGISTER, RETURN_VALUE_REGISTER | ||
|
||
|
||
# Python 2/3 compatibility hack | ||
|
@@ -182,7 +180,3 @@ def main(): | |
else: | ||
print("%s has not detected any file system operations from %s." % | ||
(T.bold("maybe"), T.bold(command))) | ||
|
||
|
||
if __name__ == "__main__": | ||
main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters