Ńň ˆ_‚Jc@sdZddklZddklZlZddklZeeƒZ defd„ƒYZ e dd„d d „ƒZ d „Z d „Z d S(sKFlash messaging system for sending info to the user in a non-obtrusive way i˙˙˙˙(tFlash(tresponsetrequest(t getLoggertTGFlashcBs2eZdd„Zed„ƒZed„ƒZRS(cKs"tt|ƒit|ƒ||S(N(tsuperRt__call__tunicode(tselftmessagetstatust extra_payload((s,/usr/lib/python2.6/site-packages/tg/flash.pyR scCs|iƒidƒS(NR (t pop_payloadtget(R((s,/usr/lib/python2.6/site-packages/tg/flash.pyR scCs|iƒidƒp|iS(NR (R R tdefault_status(R((s,/usr/lib/python2.6/site-packages/tg/flash.pyR sN(t__name__t __module__tNoneRtpropertyR R (((s,/usr/lib/python2.6/site-packages/tg/flash.pyR s t get_responsecCstS((R(((s,/usr/lib/python2.6/site-packages/tg/flash.pytst get_requestcCstS((R(((s,/usr/lib/python2.6/site-packages/tg/flash.pyRscCstiS(siReturns the message previously set by calling flash() Additonally removes the old flash message (tflashR (((s,/usr/lib/python2.6/site-packages/tg/flash.pyt get_flash scCstiS(shReturns the status of the last flash messagese Additonally removes the old flash message status(RR (((s,/usr/lib/python2.6/site-packages/tg/flash.pyt get_status&sN(t__doc__twebflashRtpylonsRRtloggingRRtlogRRRR(((s,/usr/lib/python2.6/site-packages/tg/flash.pyts