Skip to content

Commit 191618e

Browse files
address part of #237 - fix the code example to use the correct import
1 parent f629811 commit 191618e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,9 @@ The callable must return the configuration.
285285
.. code:: python
286286
287287
def myversion():
288-
from setuptools_scm.version import dirty_tag
288+
from setuptools_scm.version import get_local_dirty_tag
289289
def clean_scheme(version):
290-
return dirty_tag(version) if version.dirty else '+clean'
290+
return get_local_dirty_tag(version) if version.dirty else '+clean'
291291
292292
return {'local_scheme': clean_scheme}
293293

0 commit comments

Comments
 (0)