[vcstocl] Import ProjectQuirks from its own file

Message ID 20200820032219.798899-1-siddhesh@sourceware.org
State Committed
Headers
Series [vcstocl] Import ProjectQuirks from its own file |

Commit Message

Siddhesh Poyarekar Aug. 20, 2020, 3:22 a.m. UTC
  ProjectQuirks moved into its own file in gnulib because one cannot
import modules with hyphens in them.  Adjust the quirks file to
reflect this reality.

[1] https://lists.gnu.org/archive/html/bug-gnulib/2020-08/msg00177.html
[2] https://lists.gnu.org/archive/html/bug-gnulib/2020-08/msg00178.html
---

Sorry, I missed the quirks file dependency when I renamed
vcs-to-changelog in gnulib.  I have posted patches[1][2] to split the
ProjectQuirks class out into its own file since that is a cleaner
solution.  I'll commit this once the changes to gnulib are accepted.

 scripts/vcstocl_quirks.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/scripts/vcstocl_quirks.py b/scripts/vcstocl_quirks.py
index d73a586317..b79b5d954e 100644
--- a/scripts/vcstocl_quirks.py
+++ b/scripts/vcstocl_quirks.py
@@ -17,7 +17,7 @@ 
 # <http://www.gnu.org/licenses/>.
 
 from frontend_c import Frontend
-from vcs_to_changelog import ProjectQuirks
+from projectquirks import ProjectQuirks
 import re
 
 class GlibcProjectQuirks(ProjectQuirks):