1. 30 Sep, 2022 6 commits
    • Vincent Pelletier's avatar
      BusinessTemplate_getPythonSourceCodeMessageList: Retry in case of pylint internal failure. · b21f83fc
      Vincent Pelletier authored
      Pylint, at least our current version (still 1.4.4 as some more recent
      versions are apparently much slower), may choke on some imports on the
      first validation since Zope was started, only to later succeed. Hypothesis
      is that it fails to analyse some imported modules, leaving empty shells
      behind in some cache, making a second test avoid the error.
      Here is one such error:
        File "eggs/astroid-1.3.8-py2.7.egg/astroid/bases.py", line 86, in cache_generator
          for result in generator:
        File "eggs/astroid-1.3.8-py2.7.egg/astroid/bases.py", line 327, in wrapped
          for res in _func(node, context, **kwargs):
        File "eggs/astroid-1.3.8-py2.7.egg/astroid/bases.py", line 351, in wrapper
          for node in func(*args, **kwargs):
        File "eggs/astroid-1.3.8-py2.7.egg/astroid/inference.py", line 190, in infer_callfunc
          for callee in self.func.infer(context):
        File "eggs/astroid-1.3.8-py2.7.egg/astroid/bases.py", line 86, in cache_generator
          for result in generator:
        File "eggs/astroid-1.3.8-py2.7.egg/astroid/bases.py", line 327, in wrapped
          for res in _func(node, context, **kwargs):
        File "eggs/astroid-1.3.8-py2.7.egg/astroid/bases.py", line 351, in wrapper
          for node in func(*args, **kwargs):
        File "eggs/astroid-1.3.8-py2.7.egg/astroid/inference.py", line 247, in infer_getattr
          for obj in owner.igetattr(self.attrname, context):
        File "eggs/astroid-1.3.8-py2.7.egg/astroid/bases.py", line 187, in igetattr
          context.push((self._proxied, name))
        File "eggs/astroid-1.3.8-py2.7.egg/astroid/raw_building.py", line 360, in _set_proxied
          return _CONST_PROXY[const.value.__class__]
      KeyError: <type 'CompiledFFI'>
      b21f83fc
    • Vincent Pelletier's avatar
      erp5_web_renderjs_ui_test: Improve estDisableXHtmlStyle · 8990ee68
      Vincent Pelletier authored
      The last navigation step is intended to pull an anonymous-accessible
      document. ERP5Site is too magic a document to have a representative
      behaviour.
      8990ee68
    • Jérome Perrin's avatar
      Remove spaces at end of line in all python files · eb0aea63
      Jérome Perrin authored
      These are useless, git complain about them and they cause unnecessary diffs when having editor configured to automatically remove spaces at end of lines, so let's do a big commit to remove them all at once
      
      See merge request nexedi/erp5!1672
      eb0aea63
    • Jérome Perrin's avatar
      *: remove spaces at end of line in all python files · 97f4cb91
      Jérome Perrin authored
      done with:
      
          find product/ bt5 -name '*.py' | xargs -n 1 sed -i 's/ *$//'
      97f4cb91
    • Jérome Perrin's avatar
    • Jérome Perrin's avatar
  2. 29 Sep, 2022 1 commit
  3. 28 Sep, 2022 4 commits
  4. 27 Sep, 2022 3 commits
  5. 26 Sep, 2022 14 commits
  6. 23 Sep, 2022 4 commits
  7. 22 Sep, 2022 2 commits
  8. 21 Sep, 2022 5 commits
  9. 20 Sep, 2022 1 commit
    • Jérome Perrin's avatar
      sql_browser: improve display of results with big numbers · 489b50e3
      Jérome Perrin authored
      Javascript does not support big integers, so the backend have to be
      careful not to return too large numbers in the json. Nowadays there
      is bigint, but not equivalent for decimal numbers, so the backend
      tries to detect if numbers are too big and returns them as string
      in that case - which is better than returning a different number
      because it displays correctly in the result table. The pivot table
      will still wrong, but at least the table of results is OK.
      489b50e3