Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
mozey committed Feb 5, 2016
1 parent 98e5bd3 commit 9ca3a80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ TODO :PlugUpdate doesn't seem to work? To update:

rm -rf ~/.vim/plugged/vim-timetracker

vim

:PlugInstall


Expand Down
5 changes: 1 addition & 4 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@ def add_functions():
if func_name[0] is not "_":
func = getattr(timetracker, func_name)
body, _ = inspect.getsourcelines(func)
body[0] = body[0].replace(
func_name, func_name.capitalize()
)
write_func(func_name, body[1:])
write_func(func_name.capitalize(), body[1:])
print(func_name + "...")


Expand Down

0 comments on commit 9ca3a80

Please sign in to comment.