Skip to content

Commit

Permalink
[fc] Repository: plone.registry
Browse files Browse the repository at this point in the history
Branch: refs/heads/master
Date: 2018-06-20T11:48:29+02:00
Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com>
Commit: plone/plone.registry@e072542

Update README.rst

Files changed:
M README.rst
Repository: plone.registry

Branch: refs/heads/master
Date: 2018-06-20T11:49:00+02:00
Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com>
Commit: plone/plone.registry@9b2dc4c

Merge pull request #17 from plone/gforcada-patch-1

Update README.rst

Files changed:
M README.rst
  • Loading branch information
gforcada committed Jun 20, 2018
1 parent 11b9835 commit 89c4452
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions last_commit.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,31 @@ Repository: plone.registry


Branch: refs/heads/master
Date: 2018-06-19T16:19:30+01:00
Author: Matthew Wilkes (MatthewWilkes) <git@matthewwilkes.name>
Commit: https://github.com/plone/plone.registry/commit/bc13c371e09010ccb97487cd6cdd5ecfb72365cb
Date: 2018-06-20T11:48:29+02:00
Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com>
Commit: https://github.com/plone/plone.registry/commit/e07254274e5ead26d2a315a4b027807ceb26525b

Improve performance of RecordsProxy.__iter__
Update README.rst

Files changed:
M CHANGES.rst
M plone/registry/recordsproxy.py
M README.rst

b"diff --git a/CHANGES.rst b/CHANGES.rst\nindex 862a57e..bfb876a 100644\n--- a/CHANGES.rst\n+++ b/CHANGES.rst\n@@ -14,7 +14,9 @@ New features:\n \n Bug fixes:\n \n-- *add item here*\n+- Improve performance of RecordsProxy.__iter__ which is now invoked more in\n+ core Plone as part of the requireJS configuration\n+ [MatthewWilkes]\n \n \n 1.1.2 (2016-12-06)\ndiff --git a/plone/registry/recordsproxy.py b/plone/registry/recordsproxy.py\nindex 58a541b..06c39ac 100644\n--- a/plone/registry/recordsproxy.py\n+++ b/plone/registry/recordsproxy.py\n@@ -115,7 +115,7 @@ def __iter__(self):\n if '.' not in name:\n yield name\n else:\n- key = '.'.join(name.split('.')[:-1])\n+ key = name.rsplit('.', 1)[0]\n if key != last:\n yield key\n last = key\n"
b'diff --git a/README.rst b/README.rst\nindex e106fa8..2b77954 100644\n--- a/README.rst\n+++ b/README.rst\n@@ -1,6 +1,7 @@\n ============\n Introduction\n ============\n+\n This package provides debconf-like (or about:config-like) settings registries\n for Zope applications. A ``registry``, with a dict-like API, is used to get and\n set values stored in ``records``. Each record contains the actual value, as\n'

Repository: plone.registry


Branch: refs/heads/master
Date: 2018-06-20T08:39:31+02:00
Date: 2018-06-20T11:49:00+02:00
Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com>
Commit: https://github.com/plone/plone.registry/commit/ca12637ab52dcd3f252012ecf2046cf26202b43b
Commit: https://github.com/plone/plone.registry/commit/9b2dc4c106b8a2b02b2b9848f7440edcdbf6884f

Merge pull request #15 from plone/wilkes-performance-improvement
Merge pull request #17 from plone/gforcada-patch-1

Improve performance of RecordsProxy.__iter__
Update README.rst

Files changed:
M CHANGES.rst
M plone/registry/recordsproxy.py
M README.rst

b"diff --git a/CHANGES.rst b/CHANGES.rst\nindex 862a57e..bfb876a 100644\n--- a/CHANGES.rst\n+++ b/CHANGES.rst\n@@ -14,7 +14,9 @@ New features:\n \n Bug fixes:\n \n-- *add item here*\n+- Improve performance of RecordsProxy.__iter__ which is now invoked more in\n+ core Plone as part of the requireJS configuration\n+ [MatthewWilkes]\n \n \n 1.1.2 (2016-12-06)\ndiff --git a/plone/registry/recordsproxy.py b/plone/registry/recordsproxy.py\nindex 58a541b..06c39ac 100644\n--- a/plone/registry/recordsproxy.py\n+++ b/plone/registry/recordsproxy.py\n@@ -115,7 +115,7 @@ def __iter__(self):\n if '.' not in name:\n yield name\n else:\n- key = '.'.join(name.split('.')[:-1])\n+ key = name.rsplit('.', 1)[0]\n if key != last:\n yield key\n last = key\n"
b'diff --git a/README.rst b/README.rst\nindex e106fa8..2b77954 100644\n--- a/README.rst\n+++ b/README.rst\n@@ -1,6 +1,7 @@\n ============\n Introduction\n ============\n+\n This package provides debconf-like (or about:config-like) settings registries\n for Zope applications. A ``registry``, with a dict-like API, is used to get and\n set values stored in ``records``. Each record contains the actual value, as\n'

0 comments on commit 89c4452

Please sign in to comment.