import_ref: Fix warning
authorGuido Günther <agx@sigxcpu.org>
Tue, 11 Dec 2018 17:03:08 +0000 (18:03 +0100)
committerGuido Günther <agx@sigxcpu.org>
Tue, 11 Dec 2018 17:04:21 +0000 (18:04 +0100)
gbp/scripts/import_ref.py

index 27d6a125c79b53308aa107e49b34c8f138dcadb6..fcc10bff7ac8cb5bc43e27217228d34b952c3178 100644 (file)
@@ -135,7 +135,7 @@ def main(argv):
     # TODO: add --filter-with-copyright which takes d/copyright into account
     # TODO: handle automatic versions based on timestamp + sha1
     # TODO: handle updating of upstream branch from remote
-    gbp.warn("This script is experimental, it might change incompatibly between versions.")
+    gbp.log.warn("This script is experimental, it might change incompatibly between versions.")
     try:
         try:
             repo = RollbackDebianGitRepository('.')