Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo #83

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dr14tmeter/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def set_limit(self, limit):

def get_query(self):
NotImplementedError(
"%s : is virutal and must be overridden." % sys._getframe().f_code.co_name)
"%s : is virtual and must be overridden." % sys._getframe().f_code.co_name)

def exec_query(self):
db = dr_database_singletone().get()
Expand Down
18 changes: 9 additions & 9 deletions dr14tmeter/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ def get_init_txt(self):

def new_table(self):
NotImplementedError(
" %s : is virutal and must be overridden." % sys._getframe().f_code.co_name)
" %s : is virtual and must be overridden." % sys._getframe().f_code.co_name)

def end_table(self):
NotImplementedError(
" %s : is virutal and must be overridden." % sys._getframe().f_code.co_name)
" %s : is virtual and must be overridden." % sys._getframe().f_code.co_name)

def write_table(self):
return self.__ini_txt + self._get_txt()
Expand Down Expand Up @@ -128,7 +128,7 @@ def append_empty_line(self):

def add_title(self, title):
NotImplementedError(
" %s : is virutal and must be overridden." % sys._getframe().f_code.co_name)
" %s : is virtual and must be overridden." % sys._getframe().f_code.co_name)

def add_value(self, val):
self._append_txt(self.format_element(val))
Expand All @@ -153,19 +153,19 @@ def end_foot(self):

def new_row(self):
NotImplementedError(
" %s : is virutal and must be overridden." % sys._getframe().f_code.co_name)
" %s : is virtual and must be overridden." % sys._getframe().f_code.co_name)

def end_row(self):
NotImplementedError(
" %s : is virutal and must be overridden." % sys._getframe().f_code.co_name)
" %s : is virtual and must be overridden." % sys._getframe().f_code.co_name)

def new_cell(self):
NotImplementedError(
" %s : is virutal and must be overridden." % sys._getframe().f_code.co_name)
" %s : is virtual and must be overridden." % sys._getframe().f_code.co_name)

def end_cell(self):
NotImplementedError(
" %s : is virutal and must be overridden." % sys._getframe().f_code.co_name)
" %s : is virtual and must be overridden." % sys._getframe().f_code.co_name)

def new_hcell(self):
return self.new_cell()
Expand All @@ -175,11 +175,11 @@ def end_hcell(self):

def new_bold(self):
NotImplementedError(
" %s : is virutal and must be overridden." % sys._getframe().f_code.co_name)
" %s : is virtual and must be overridden." % sys._getframe().f_code.co_name)

def end_bold(self):
NotImplementedError(
" %s : is virutal and must be overridden." % sys._getframe().f_code.co_name)
" %s : is virtual and must be overridden." % sys._getframe().f_code.co_name)


class TextTable (Table):
Expand Down