Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • erp5 erp5
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • amrani
  • erp5erp5
  • Repository

Switch branch/tag
  • erp5
  • product
  • ERP5
  • Document
  • Document.py
Find file BlameHistoryPermalink
  • Rafael Monnerat's avatar
    update_data use len(data) when size is None, which breaks this method (setData). · d7e6ca48
    Rafael Monnerat authored Sep 14, 2009
    define size = 0 when data is None, will prevent len be use update_data and keep the consistency of getData() and setData().
    
    Other alternative should monkey patch update_data or avoid his usage removing "if/else". 
    
    
    
    git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29036 20353a03-c40f-0410-a6d1-a30d3c3de9de
    d7e6ca48

Replace Document.py

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7