1. 11 8月, 2015 1 次提交
  2. 27 7月, 2015 3 次提交
  3. 01 7月, 2015 2 次提交
  4. 26 6月, 2015 1 次提交
    • A
      Shorten header for Contents indices · cd577d00
      Ansgar Burchardt 提交于
      Do not mention details like how often Contents indices are updates as
      these depend on the suite and have changed.
      
      Also remove the description on how to use grep to search these files.
      cd577d00
  5. 25 6月, 2015 4 次提交
  6. 23 6月, 2015 1 次提交
  7. 22 6月, 2015 4 次提交
  8. 19 6月, 2015 1 次提交
  9. 18 6月, 2015 10 次提交
  10. 17 6月, 2015 1 次提交
  11. 16 6月, 2015 1 次提交
    • A
      daklib/ls.py: manage our own database session · 3eeb7044
      Ansgar Burchardt 提交于
      session_wrapper gets confused by generators: let "f" be a generator
      making use of a database session:
      
          def wrapped_f():
            session = DBConn().session()
            try:
              return f(session)
            finally:
              session.close()
      
          for item in wrapped_f():
            do_something(item)
      
      will leak database sessions as the implementation of "f" will only be
      invoked from the for-loop. However at this time the "finally" block
      closing the session has already run. SQLAlchemy will helpfully reopen
      the session, but it will not be closed in the end.
      3eeb7044
  12. 14 6月, 2015 4 次提交
  13. 13 6月, 2015 5 次提交
  14. 12 6月, 2015 2 次提交