Mercurial > libervia-backend
comparison frontends/src/tools/misc.py @ 2269:606ff34d30f2
jp (blog, common): moved and improved edit code from blog:
- a new "common" module is there for code commonly used in commands
- moved code for editing item with $EDITOR there
- moved code to identify item to edit there
- aforementioned fontions have been made generic
- a class BaseEdit is now available to implement edition
- HTTPS links are handled (only HTTP links were working before)
- item can be use if all previous methods fail (url, keyword, file path).
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 27 Jun 2017 16:23:28 +0200 |
parents | 2daf7b4c6756 |
children | 1dfc5516dead |
comparison
equal
deleted
inserted
replaced
2268:a29d1351bc83 | 2269:606ff34d30f2 |
---|