Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-1513

Eliminate temporary variables by using for .. else construct

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • all
    • unscheduled
    • tests
    • None

    Description

      Patch by Erik Huelsmann:
      http://www.contactor.se/~dast/svn/archive-2003-08/1798.shtml
      
      Use for .. else construct as often as possible, eliminating the need for
      temporary variables.
      
       * subversion/tests/clients/cmdline/commit_tests.py
       * subversion/tests/clients/cmdline/copy_tests.py
       * subversion/tests/clients/cmdline/diff_tests.py
       * subversion/tests/clients/cmdline/externals_tests.py
       * subversion/tests/clients/cmdline/prop_tests.py
       * subversion/tests/clients/cmdline/stat_tests.py
       * subversion/tests/clients/cmdline/update_tests.py
      

      http://www.contactor.se/~dast/svn/archive-2003-08/1798.shtml

      Original issue reported by sander

      Attachments

        Activity

          People

            Unassigned Unassigned
            subversion-importer Subversion Importer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: