diff options
author | Sayamindu Dasgupta <sayamindu@gmail.com> | 2010-01-09 10:04:11 (GMT) |
---|---|---|
committer | Sayamindu Dasgupta <sayamindu@gmail.com> | 2010-01-09 10:04:11 (GMT) |
commit | 473847808819b259f9e2c2d7a9df077aa42b2245 (patch) | |
tree | f17493e039e9841cabcba85d0a43661472846794 | |
parent | bc2d071880a64e376f338458662768875ba9b68f (diff) |
-rw-r--r-- | Pootle-2.0.0/local_apps/pootle_app/views/language/item_dict.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Pootle-2.0.0/local_apps/pootle_app/views/language/item_dict.py b/Pootle-2.0.0/local_apps/pootle_app/views/language/item_dict.py index 5f72841..71a46c5 100644 --- a/Pootle-2.0.0/local_apps/pootle_app/views/language/item_dict.py +++ b/Pootle-2.0.0/local_apps/pootle_app/views/language/item_dict.py @@ -308,7 +308,8 @@ def make_store_item(request, store, links_required=None): def get_commit_status(path): ''' Returns True if a commit needs to be made ''' #FIXME: This should be made a part of the translate-toolkit - directory = os.path.realpath(path) + path = os.path.realpath(path) + directory = path gitdir = None while directory != '/': directory = os.path.dirname(directory) |