gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-merchant-demos] branch master updated: -use sourceline, no


From: gnunet
Subject: [taler-taler-merchant-demos] branch master updated: -use sourceline, not sourcepos
Date: Thu, 20 Oct 2022 13:48:46 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository taler-merchant-demos.

The following commit(s) were added to refs/heads/master by this push:
     new 9b68cb4  -use sourceline, not sourcepos
9b68cb4 is described below

commit 9b68cb45d3a7ff1ada80378c0d3683f85d822942
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Oct 20 13:48:42 2022 +0200

    -use sourceline, not sourcepos
---
 talermerchantdemos/blog/content.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/talermerchantdemos/blog/content.py 
b/talermerchantdemos/blog/content.py
index e80219c..ed8243c 100644
--- a/talermerchantdemos/blog/content.py
+++ b/talermerchantdemos/blog/content.py
@@ -106,7 +106,7 @@ def add_from_html(resource_name, lang):
         paragraphs = soup.find_all("p")
         lists = soup.find_all("li")
         if (len(paragraphs) > 0) and (len(lists) > 0):
-            if (paragraphs[0].sourcepos > lists[0].sourcepos):
+            if (paragraphs[0].sourceline > lists[0].sourceline):
                 titleat = lists
             else:
                 titleat = paragraphs

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]