Skip to content

Commit

Permalink
rename silent to auto
Browse files Browse the repository at this point in the history
  • Loading branch information
nirizr committed Nov 29, 2018
1 parent 1c00b43 commit ed72309
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import idaapi

try:
import rematch.actions as actions
import rematch.dialogs as dialogs
except ImportError:
from . import actions
from . import dialogs
from . import actions
from . import dialogs


def main():
Expand Down
4 changes: 2 additions & 2 deletions idaplugin/rematch/dialogs/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from . import base
from . import widgets
from . import gui
from . import silent
from . import auto
from . import login
from . import upload
from . import match
Expand All @@ -10,5 +10,5 @@
from . import settings
from . import serializedgraph

__all__ = ['base', 'widgets', 'gui', 'silent', 'login', 'upload', 'match',
__all__ = ['base', 'widgets', 'gui', 'auto', 'login', 'upload', 'match',
'result', 'project', 'settings', 'serializedgraph']
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
from .base import BaseDialog


class SilentDialog(BaseDialog):
class AutoDialog(BaseDialog):
def __init__(self, calls):
# initialize super without any callbacks to avoid code review warnings
super(SilentDialog, self).__init__()
super(AutoDialog, self).__init__()
self.data_value = None
self.calls = calls

def __call__(self, **kwargs):
super(SilentDialog, self).__init__(**kwargs)
super(AutoDialog, self).__init__(**kwargs)
return self

def show(self):
Expand Down

0 comments on commit ed72309

Please sign in to comment.