You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@steve.apache.org by ti...@apache.org on 2026/02/04 14:53:35 UTC

(steve) branch finetune created (now 9193732)

This is an automated email from the ASF dual-hosted git repository.

tison pushed a change to branch finetune
in repository https://gitbox.apache.org/repos/asf/steve.git


      at 9193732  Fix load-fakedata.py

This branch includes the following new commits:

     new 9193732  Fix load-fakedata.py

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(steve) 01/01: Fix load-fakedata.py

Posted by ti...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tison pushed a commit to branch finetune
in repository https://gitbox.apache.org/repos/asf/steve.git

commit 919373210072cbb0798c00af8a47451a00028ccd
Author: tison <wa...@gmail.com>
AuthorDate: Wed Feb 4 22:53:22 2026 +0800

    Fix load-fakedata.py
    
    Signed-off-by: tison <wa...@gmail.com>
---
 v3/server/bin/load-fakedata.py | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/v3/server/bin/load-fakedata.py b/v3/server/bin/load-fakedata.py
index 82ed768..096230f 100755
--- a/v3/server/bin/load-fakedata.py
+++ b/v3/server/bin/load-fakedata.py
@@ -59,11 +59,7 @@ def gen_election(owner_pid, issue_count=10):
         description = FAKE.paragraph()
         vtype = 'yna'  ### something else?
         kv = None  ### something else?
-
-        ### grr. this should be internal
-        iid = steve.crypto.create_id()
-        e.add_issue(iid, title, description, vtype, kv)
-        _LOGGER.info(f'[E:{e.eid}]: created issue[I:{iid}]: "{title}"')
+        e.add_issue(title, description, vtype, kv)
 
 
 def random_owner():