Skip to content

Commit 97ab197

Browse files
committed
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
1 parent 8858a63 commit 97ab197

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/doc_index/0.2/tutorial.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ <h2>Initialize a Repo object<a class="headerlink" href="#initialize-a-repo-objec
7070
<p>Query the active branch, query untracked files or whether the repository data has been modified:</p>
7171
<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>
7272
<span class="bp">False</span>
73-
<span class="n">repo</span><span class="o">.</span><span class="n">untracked_files</span><span class="p">()</span>
73+
<span class="n">repo</span><span class="o">.</span><span class="n">untracked_files</span>
7474
<span class="p">[</span><span class="s">&#39;my_untracked_file&#39;</span><span class="p">]</span>
7575
</pre></div>
7676
</div>

doc/source/tutorial.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Query the active branch, query untracked files or whether the repository data h
3333
3434
repo.is_dirty()
3535
False
36-
repo.untracked_files()
36+
repo.untracked_files
3737
['my_untracked_file']
3838
3939
Clone from existing repositories or initialize new empty ones::

0 commit comments

Comments
 (0)