summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dotfiles/cli.py2
-rw-r--r--dotfiles/core.py2
-rwxr-xr-xtest_dotfiles.py4
3 files changed, 4 insertions, 4 deletions
diff --git a/dotfiles/cli.py b/dotfiles/cli.py
index 940495e..3726e0d 100644
--- a/dotfiles/cli.py
+++ b/dotfiles/cli.py
@@ -212,7 +212,7 @@ def main():
(cli_opts, args) = parse_args()
- settings['homedir'] = realpath_expanduser(cli_opts.homedir or
+ settings['homedir'] = realpath_expanduser(cli_opts.homedir or
defaults['homedir'])
settings['config_file'] = realpath_expanduser(cli_opts.config_file or
defaults['config_file'])
diff --git a/dotfiles/core.py b/dotfiles/core.py
index 1dfcea7..f2b492b 100644
--- a/dotfiles/core.py
+++ b/dotfiles/core.py
@@ -152,7 +152,7 @@ class Dotfiles(object):
self._load_recursive(pkg_path)
else:
self.dotfiles.append(Dotfile(dotfile[len(self.prefix):],
- os.path.join(src_dir, dotfile), dst_dir,
+ os.path.join(src_dir, dotfile), dst_dir,
add_dot=not bool(sub_dir), dry_run=self.dry_run))
# Externals are top-level only
diff --git a/test_dotfiles.py b/test_dotfiles.py
index 88ffe67..cce8009 100755
--- a/test_dotfiles.py
+++ b/test_dotfiles.py
@@ -180,7 +180,7 @@ class DotfilesTestCase(unittest.TestCase):
self.assertPathEqual(
os.path.join(self.repository, original),
os.path.join(self.homedir, symlink))
-
+
def test_packages(self):
"""
Test packages.
@@ -197,7 +197,7 @@ class DotfilesTestCase(unittest.TestCase):
os.makedirs(dirname)
touch(path)
- # Create Dotiles object
+ # Create Dotfiles object
dotfiles = core.Dotfiles(
homedir=self.homedir, repository=self.repository,
prefix='', ignore=[], externals={}, packages=['package'],