summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmjith Ramanujam <amjith.r@gmail.com>2022-07-04 16:40:12 -0700
committerGitHub <noreply@github.com>2022-07-04 16:40:12 -0700
commit687c5cf4d13197ad4c60747272186237d26db8fc (patch)
tree9f2b3d59048a4e896ce7d4bac42c77c189ba823a
parent2e7823a29034414969e5ec81bc4332db3c5091c1 (diff)
parentdaae7207cd44413223f9b41fb7804f048e406550 (diff)
Merge pull request #1063 from timgates42/bugfix_typos
docs: Fix a few typos
-rw-r--r--mycli/completion_refresher.py2
-rwxr-xr-xmycli/main.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/mycli/completion_refresher.py b/mycli/completion_refresher.py
index 124068a..8eb3de9 100644
--- a/mycli/completion_refresher.py
+++ b/mycli/completion_refresher.py
@@ -47,7 +47,7 @@ class CompletionRefresher(object):
def _bg_refresh(self, sqlexecute, callbacks, completer_options):
completer = SQLCompleter(**completer_options)
- # Create a new pgexecute method to popoulate the completions.
+ # Create a new pgexecute method to populate the completions.
e = sqlexecute
executor = SQLExecute(e.dbname, e.user, e.password, e.host, e.port,
e.socket, e.charset, e.local_infile, e.ssl,
diff --git a/mycli/main.py b/mycli/main.py
index a895ab1..97256e1 100755
--- a/mycli/main.py
+++ b/mycli/main.py
@@ -447,7 +447,7 @@ class MyCli(object):
if not any(v for v in ssl.values()):
ssl = None
- # if the passwd is not specfied try to set it using the password_file option
+ # if the passwd is not specified try to set it using the password_file option
password_from_file = self.get_password_from_file(password_file)
passwd = passwd or password_from_file