diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-10-27 19:04:09 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-10-27 20:17:32 +0200 |
commit | 97ab197140b16027975c7465a5e8786e6cc8fea1 (patch) | |
tree | 18ce31d0e6b3a4fb5ce34ea436c4a18581682898 | |
parent | 8858a63cb33319f3e739edcbfafdae3ec0fefa33 (diff) | |
download | gitpython-97ab197140b16027975c7465a5e8786e6cc8fea1.tar.gz |
docs: untracked_files is a property, but was used like a function, see http://groups.google.com/group/git-python/browse_thread/thread/84ed1835e26a5296?hl=en
-rw-r--r-- | doc/doc_index/0.2/tutorial.html | 2 | ||||
-rw-r--r-- | doc/source/tutorial.rst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/doc_index/0.2/tutorial.html b/doc/doc_index/0.2/tutorial.html index 0498e77a..82bdb106 100644 --- a/doc/doc_index/0.2/tutorial.html +++ b/doc/doc_index/0.2/tutorial.html @@ -70,7 +70,7 @@ <p>Query the active branch, query untracked files or whether the repository data has been modified:</p> <div class="highlight-python"><div class="highlight"><pre><span class="n">repo</span><span class="o">.</span><span class="n">is_dirty</span><span class="p">()</span> <span class="bp">False</span> -<span class="n">repo</span><span class="o">.</span><span class="n">untracked_files</span><span class="p">()</span> +<span class="n">repo</span><span class="o">.</span><span class="n">untracked_files</span> <span class="p">[</span><span class="s">'my_untracked_file'</span><span class="p">]</span> </pre></div> </div> diff --git a/doc/source/tutorial.rst b/doc/source/tutorial.rst index 033bbad4..72ddb1ca 100644 --- a/doc/source/tutorial.rst +++ b/doc/source/tutorial.rst @@ -33,7 +33,7 @@ Query the active branch, query untracked files or whether the repository data h repo.is_dirty() False - repo.untracked_files() + repo.untracked_files ['my_untracked_file'] Clone from existing repositories or initialize new empty ones:: |