~lifeeth/sahana-eden/ifrc

« back to all changes in this revision

Viewing changes to models/asset.py

  • Committer: Fran Boon
  • Date: 2012-01-20 01:18:50 UTC
  • mfrom: (2159.1.13 ifrc)
  • Revision ID: fran@aidiq.com-20120120011850-18glf8nle8z5sgog
merge Michael: prepop

Show diffs side-by-side

added added

removed removed

Lines of Context:
404
404
            current_log = s3_asset_get_current_log(asset.id)
405
405
            if request.vars.status:
406
406
                status = int(request.vars.status)
 
407
            else:
 
408
                status = 0
407
409
 
408
410
            if status and status != "None":
409
411
                table.status.default = status