hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
d5ac3bb84675072f288cf948933b50537705241d
diff --git a/src/components/select/select.js b/src/components/select/select.js index <HASH>..<HASH> 100755 --- a/src/components/select/select.js +++ b/src/components/select/select.js @@ -517,7 +517,7 @@ function SelectDirective($mdSelect, $mdUtil, $mdTheming, $mdAria, $compile, $par if (e.keyCode <= 90 && e....
fix(select): Disallow keyboard selection of disabled options. Although disabled options are not selectable via the mouse or arrow keys, we currently allow users to select an option by typing the first few letters. This logic did not account for disabled options. Add a quick check to see if the requested option is dis...
angular_material
train
c3e8d6e2c4378cae82e8771388dba0a5b36b8ccd
diff --git a/src/main/java/com/treasure_data/client/HttpConnectionImpl.java b/src/main/java/com/treasure_data/client/HttpConnectionImpl.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/treasure_data/client/HttpConnectionImpl.java +++ b/src/main/java/com/treasure_data/client/HttpConnectionImpl.java @@ -28,8 +28,...
HTTPS with server certificates 'ca-bundle.jks'
treasure-data_td-client-java
train
9992f3656f8f7a71ffd992aaaf038c515e3675c7
diff --git a/src/main/java/mil/nga/geopackage/db/GeoPackageTableCreator.java b/src/main/java/mil/nga/geopackage/db/GeoPackageTableCreator.java index <HASH>..<HASH> 100644 --- a/src/main/java/mil/nga/geopackage/db/GeoPackageTableCreator.java +++ b/src/main/java/mil/nga/geopackage/db/GeoPackageTableCreator.java @@ -249,7...
use the script variable, optional exec script by property method
ngageoint_geopackage-core-java
train
5f6a603fd024bc38774fca15871a8253e0c8e6de
diff --git a/network/api/api.go b/network/api/api.go index <HASH>..<HASH> 100644 --- a/network/api/api.go +++ b/network/api/api.go @@ -66,17 +66,28 @@ func (n *Network) setCache() { n.mtx.Lock() defer n.mtx.Unlock() - ip, err := n.getIP(rsp.Peers.Node.Address) - if err == nil { - n.peers[ip] = rsp.Peers.Node.Id ...
Set peers depth 1 for network api
micro_micro
train
a03fe5573296e0b79da7d9493cf481fe7af4e93d
diff --git a/inspire_utils/name.py b/inspire_utils/name.py index <HASH>..<HASH> 100644 --- a/inspire_utils/name.py +++ b/inspire_utils/name.py @@ -86,6 +86,7 @@ class ParsedName(object): self._parsed_name = HumanName(name, constants=constants) if not self._parsed_name.first: s...
name-normalization: add title to first name when first is empty Ref: <URL>
inspirehep_inspire-utils
train
26772c443062ebc74324417f4eaaab5d07f1a183
diff --git a/moban/extensions.py b/moban/extensions.py index <HASH>..<HASH> 100644 --- a/moban/extensions.py +++ b/moban/extensions.py @@ -51,12 +51,13 @@ class JinjaGlobalsManager(PluginManager, PluginMixin): class PluginHelper(object): - def __init__(self, payload_obj): + def __init__(self, identifier, pay...
:green_heart: make unit test pass. note: lml does not really support non-class and non-function payload. this is something that lml should consider to support them seamlessly.
moremoban_moban
train
f94bfa02a48b597f1636bc3671247e050d2c7723
diff --git a/bgpd.go b/bgpd.go index <HASH>..<HASH> 100644 --- a/bgpd.go +++ b/bgpd.go @@ -39,11 +39,12 @@ func main() { signal.Notify(sigCh, syscall.SIGHUP) var opts struct { - ConfigFile string `short:"f" long:"config-file" description:"specifying a config file"` - LogLevel string `short:"l" long:"log-level...
bgpd: add --disable-stdlog option This enables you to write log to both stdout and syslog. If you enable syslog, bgpd writes to both. You don't want bgpd to write to stdout, then use this new option.
osrg_gobgp
train
e91ddc6dfc3eef488935e3daf143c7010e970e54
diff --git a/doan/__init__.py b/doan/__init__.py index <HASH>..<HASH> 100644 --- a/doan/__init__.py +++ b/doan/__init__.py @@ -1,2 +1,2 @@ from doan.dataset import r_num -from doan.stat import mean +from doan.stat import mean, stat diff --git a/doan/stat.py b/doan/stat.py index <HASH>..<HASH> 100644 --- a/doan/stat.py...
Std, percentiles and stat class.
amadev_doan
train
40b4f7bc8124a77f5344f272804cd9845d7a23aa
diff --git a/lib/reporters/html.js b/lib/reporters/html.js index <HASH>..<HASH> 100644 --- a/lib/reporters/html.js +++ b/lib/reporters/html.js @@ -42,13 +42,12 @@ var statsTemplate = '<ul id="stats">' * @api public */ -function HTML(runner) { +function HTML(runner, root) { Base.call(this, runner); var sel...
Make Mocha runnable in an iframe For Konacha, we'd love to be able to run Mocha inside an iframe, and have the report rendered in the top-level frame. Here is an illustration: <URL> * Do not repeat the current path in the ?grep URLs. It's redundant, and it messes up the path with an iframe setup like we're trying t...
mochajs_mocha
train
9f763a1f0760ce970b8d6314b127b082f3d530d6
diff --git a/src/core.js b/src/core.js index <HASH>..<HASH> 100644 --- a/src/core.js +++ b/src/core.js @@ -191,6 +191,11 @@ var joint = { return ret; }, + normalizeEvent: function(evt) { + + return (evt.originalEvent && evt.originalEvent.changedTouches && evt.originalEvent.chan...
move normalizeEvent() to joint.util
clientIO_joint
train
54e9be7aed1fd05c47a49337520dd54a0c28c2b9
diff --git a/discord/message.py b/discord/message.py index <HASH>..<HASH> 100644 --- a/discord/message.py +++ b/discord/message.py @@ -198,7 +198,17 @@ class Message: pattern = re.compile('|'.join(transformations.keys())) result = pattern.sub(repl, self.content) - return result.replace('@ever...
Message.clean_content now takes into consideration @here mentions.
Rapptz_discord.py
train
65625618fe3d4be04aac70f6e720bece24539444
diff --git a/github_release.py b/github_release.py index <HASH>..<HASH> 100755 --- a/github_release.py +++ b/github_release.py @@ -492,14 +492,54 @@ def _cli_asset_upload(*args, **kwargs): gh_asset_upload(*args, **kwargs) +def _upload_release_file( + release, upload_url, filename, verbose=False, dry_run...
github_release: Refactor to reduce complexity of gh_asset_upload
j0057_github-release
train
163fad034c89dd8c7ad755f50500d13f03ad9b5f
diff --git a/lib/keen/client.rb b/lib/keen/client.rb index <HASH>..<HASH> 100644 --- a/lib/keen/client.rb +++ b/lib/keen/client.rb @@ -3,6 +3,7 @@ require 'keen/version' require 'openssl' require 'multi_json' require 'base64' +require 'uri' module Keen class Client @@ -32,7 +33,7 @@ module Keen def beacon...
URI encode event collection names. Raise argument errors (event_collection and properties) earlier.
keenlabs_keen-gem
train
bb0ff13b6aa1fd8319fde7799f2840ad40291b92
diff --git a/entity-store/src/main/java/jetbrains/exodus/entitystore/EntityIterableCache.java b/entity-store/src/main/java/jetbrains/exodus/entitystore/EntityIterableCache.java index <HASH>..<HASH> 100644 --- a/entity-store/src/main/java/jetbrains/exodus/entitystore/EntityIterableCache.java +++ b/entity-store/src/main/...
EntityIterableCacheStatistics distinguishes enqueued and merged jobs
JetBrains_xodus
train
f891e1a3a78571bde84bc36a85003213847a4efe
diff --git a/src/ng-prettyjson-tmpl.js b/src/ng-prettyjson-tmpl.js index <HASH>..<HASH> 100644 --- a/src/ng-prettyjson-tmpl.js +++ b/src/ng-prettyjson-tmpl.js @@ -8,8 +8,8 @@ '<button type="button" ng-click="edit()" ng-show="edition && !editActivated">Edit</button>' + '<button type="button" ng-click="edit()" ...
fix bug of initing multiple instances of the editor
darul75_ng-prettyjson
train
09def428b2d365793a6c07de783f147cf66d02fd
diff --git a/yarr_client/__main__.py b/yarr_client/__main__.py index <HASH>..<HASH> 100644 --- a/yarr_client/__main__.py +++ b/yarr_client/__main__.py @@ -7,13 +7,16 @@ Main CLI entry point from docopt import docopt from . import __doc__, __title__, __version__ -from app import run_app +from app import configurate_...
Changed Flask app structure to fit in with tests
bluecap-se_yarr.client
train
4f46090ddb15c676b51b5b8537220612349b6a68
diff --git a/fedmsg_meta_fedora_infrastructure/tests/github.py b/fedmsg_meta_fedora_infrastructure/tests/github.py index <HASH>..<HASH> 100644 --- a/fedmsg_meta_fedora_infrastructure/tests/github.py +++ b/fedmsg_meta_fedora_infrastructure/tests/github.py @@ -19,6 +19,7 @@ # """ Tests for github2fedmsg messages """ ...
Make github longform tests conditional.
fedora-infra_fedmsg_meta_fedora_infrastructure
train
20ab00919a54621112767a5c6cb77cd3d2986fb9
diff --git a/src/TQ/Vcs/Repository/Repository.php b/src/TQ/Vcs/Repository/Repository.php index <HASH>..<HASH> 100644 --- a/src/TQ/Vcs/Repository/Repository.php +++ b/src/TQ/Vcs/Repository/Repository.php @@ -82,9 +82,10 @@ interface Repository * * @param string $commitMsg The commit message ...
Update Repository.php Allow the user to add extra args to the command
teqneers_PHP-Stream-Wrapper-for-Git
train
fa36024e4764035f8cb7c6ad5ba45ec8bf0a7343
diff --git a/lib/wechat/responder.rb b/lib/wechat/responder.rb index <HASH>..<HASH> 100644 --- a/lib/wechat/responder.rb +++ b/lib/wechat/responder.rb @@ -74,12 +74,11 @@ module Wechat end def show - # 企业号 if self.class.corpid.present? - echostr, corp_id = unpack(decrypt(Base64.decode64(p...
robocop style improve, no logic change
Eric-Guo_wechat
train
99c73be3fd7735b6d9e90cb47c15210593cbfbd2
diff --git a/lib/bud/collections.rb b/lib/bud/collections.rb index <HASH>..<HASH> 100644 --- a/lib/bud/collections.rb +++ b/lib/bud/collections.rb @@ -532,6 +532,19 @@ module Bud # buffer items to be merged atomically at end of this timestep public def pending_merge(o) # :nodoc: all + unless o.nil? ...
Fix wiring for channels and terminals. Previously, channels and terminals were added to `merge_targets` under certain circumstances (e.g., when the RHS was a bare BudCollection) but not in others. Channels and terminals never need to be in merge_targets, so make that happen consistently.
bloom-lang_bud
train
56e51fc0b934e502327d1da1f19bdce938d84c62
diff --git a/lib/plugins/html/setup/summaryBoxes.js b/lib/plugins/html/setup/summaryBoxes.js index <HASH>..<HASH> 100644 --- a/lib/plugins/html/setup/summaryBoxes.js +++ b/lib/plugins/html/setup/summaryBoxes.js @@ -77,7 +77,7 @@ module.exports = function(data) { cSum.performance.imageSize, h.size.format, 'imag...
size should use the size advice from the coach
sitespeedio_sitespeed.io
train
b5a79de628a4114106855925b5e9cb26cffd60c3
diff --git a/app/lib/actions/katello/orphan_cleanup/remove_orphans.rb b/app/lib/actions/katello/orphan_cleanup/remove_orphans.rb index <HASH>..<HASH> 100644 --- a/app/lib/actions/katello/orphan_cleanup/remove_orphans.rb +++ b/app/lib/actions/katello/orphan_cleanup/remove_orphans.rb @@ -8,7 +8,7 @@ module Actions ...
Fixes #<I> - Removes an unnecessary pulp3 ping check (#<I>) As a part of removing pulp2 references, taking out unnecesary code out of the ping. Fixeing another issue
Katello_katello
train
40ef94c2d7a6c0d047013d409798cfa5ee719008
diff --git a/lib/haml_parser.rb b/lib/haml_parser.rb index <HASH>..<HASH> 100644 --- a/lib/haml_parser.rb +++ b/lib/haml_parser.rb @@ -1,4 +1,4 @@ -require "haml_parser/version" +require_relative "haml_parser/version" module HamlParser # Your code goes here... diff --git a/lib/haml_parser/cli.rb b/lib/haml_parser...
Minor speedup by using require_relative if possible
eagletmt_haml_parser
train
8729fcf7ca6ea16b76a0ec51d6b866b785fa8bdb
diff --git a/metrics-healthchecks/src/main/java/com/codahale/metrics/health/HealthCheck.java b/metrics-healthchecks/src/main/java/com/codahale/metrics/health/HealthCheck.java index <HASH>..<HASH> 100644 --- a/metrics-healthchecks/src/main/java/com/codahale/metrics/health/HealthCheck.java +++ b/metrics-healthchecks/src/...
Add ability to provide custom clocks for HealthCheck (#<I>) Use the `Clock` abstraction from `metrics-core` for that. Users can override the `clock` method in their health checks. For example, it's useful for pinning the clock in unit tests.
dropwizard_metrics
train
6c1b547d30a009e14562fe066dfa11be37d99a4e
diff --git a/filter/file/extension.php b/filter/file/extension.php index <HASH>..<HASH> 100644 --- a/filter/file/extension.php +++ b/filter/file/extension.php @@ -17,18 +17,21 @@ class ComFilesFilterFileExtension extends KFilterAbstract { public function validate($entity) { - $allowed = KObjectConfig::unbox...
#<I> Check for container before run
joomlatools_joomlatools-framework
train
c1165b992ec63540a9bb6413a7698f17765405c2
diff --git a/dispatch/static/manager/src/js/actions/FilesActions.js b/dispatch/static/manager/src/js/actions/FilesActions.js index <HASH>..<HASH> 100644 --- a/dispatch/static/manager/src/js/actions/FilesActions.js +++ b/dispatch/static/manager/src/js/actions/FilesActions.js @@ -10,12 +10,11 @@ export function fetchFile...
Refactor to use arrow notation in fetchFiles and createFiles actions, add missing space in FilesPage handleSearch
ubyssey_dispatch
train
1be2bcecd3a1385b8fd78054353cc118e8d0befc
diff --git a/inc/support.php b/inc/support.php index <HASH>..<HASH> 100644 --- a/inc/support.php +++ b/inc/support.php @@ -62,6 +62,7 @@ class CareLib_Support { */ public function theme_support() { add_theme_support( 'title-tag' ); + add_theme_support( 'post-thumbnails' ); add_theme_support( 'html5', array(...
Moved theme support for post-thumbnails to theme support class
cipherdevgroup_carelib
train
5a662c2cce6d63fe7f92764f0b5e551b6c06325b
diff --git a/test/manual-testing/browser/rollup.config.js b/test/manual-testing/browser/rollup.config.js index <HASH>..<HASH> 100644 --- a/test/manual-testing/browser/rollup.config.js +++ b/test/manual-testing/browser/rollup.config.js @@ -2,7 +2,7 @@ import serve from 'rollup-plugin-serve'; import resolve from 'rollup...
fix(Test): use new dep for manual testing
blockchain-certificates_cert-verifier-js
train
cbdb55dc59d2000ab8843d462c684ef10aa59775
diff --git a/bucket.go b/bucket.go index <HASH>..<HASH> 100644 --- a/bucket.go +++ b/bucket.go @@ -304,10 +304,25 @@ func (r *viewResults) Next(valuePtr interface{}) bool { return true } + func (r *viewResults) Close() error { return r.err } +func (r *viewResults) One(valuePtr interface{}) error { + if !r.Ne...
Added a ViewQuery.One method to allow quick retrieval of single view results.
couchbase_gocb
train
bf87ecf8c4a4d9cee1cca68d45207d4c85d83f67
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -7,6 +7,11 @@ export default function install (Vue, options) { // Browser only if (typeof window === 'undefined') return + options = { + clearConsoleOnUpdate: true, + ...options + } + // Conf...
added a setting to not clear the console per run
vue-a11y_vue-axe
train
919306745ead2433e825c898f6058cfeb8fd410a
diff --git a/src/ploneintranet/workspace/tests/test_content_type.py b/src/ploneintranet/workspace/tests/test_content_type.py index <HASH>..<HASH> 100644 --- a/src/ploneintranet/workspace/tests/test_content_type.py +++ b/src/ploneintranet/workspace/tests/test_content_type.py @@ -1,5 +1,6 @@ from ploneintranet.workspace...
add a test to prove that workspaces cannot be nested
ploneintranet_ploneintranet.workspace
train
a7a36fce9cde32fa1b826968751ca5034db1b499
diff --git a/code/libraries/koowa/libraries/controller/behavior/permissible.php b/code/libraries/koowa/libraries/controller/behavior/permissible.php index <HASH>..<HASH> 100644 --- a/code/libraries/koowa/libraries/controller/behavior/permissible.php +++ b/code/libraries/koowa/libraries/controller/behavior/permissible.p...
re #<I> : Only set the permission during mixing if no permission exists.
timble_kodekit
train
8fd1715b891949fa417d834a2860bd448c80691a
diff --git a/lib/models/referral.js b/lib/models/referral.js index <HASH>..<HASH> 100644 --- a/lib/models/referral.js +++ b/lib/models/referral.js @@ -1,6 +1,7 @@ 'use strict'; const mongoose = require('mongoose'); +const errors = require('storj-service-error-types'); const SchemaOptions = require('../options'); ...
Add back in errors and make params more explicit
storj_service-storage-models
train
b3a5c350188b5e56db2989e966bbdba833a3f1f3
diff --git a/micrometer-api/src/main/java/io/micrometer/api/instrument/MeterRegistry.java b/micrometer-api/src/main/java/io/micrometer/api/instrument/MeterRegistry.java index <HASH>..<HASH> 100644 --- a/micrometer-api/src/main/java/io/micrometer/api/instrument/MeterRegistry.java +++ b/micrometer-api/src/main/java/io/mi...
Make getCurrentSample public and add getContextualName to HandlerContext
micrometer-metrics_micrometer
train
48fcea13e11387652f8075f9ab15ad1add973df1
diff --git a/lib/odt2html.rb b/lib/odt2html.rb index <HASH>..<HASH> 100644 --- a/lib/odt2html.rb +++ b/lib/odt2html.rb @@ -1,4 +1,5 @@ require 'rexml/document' +require 'rexml/xpath' require 'zip/zip' require 'stringio' require 'getoptlong' diff --git a/lib/odt2html/analyze_content.rb b/lib/odt2html/analyze_content...
We don't need to require xpath every time
imanel_odt2html
train
91f0492b0042e925446b34c9e43b9b9939ca7d38
diff --git a/Makefile b/Makefile index <HASH>..<HASH> 100644 --- a/Makefile +++ b/Makefile @@ -190,3 +190,8 @@ remove-temp-files: .PHONY:docker docker: make -C build.assets + +# Interactively enters a Docker container (which you can build and run Teleport inside of) +.PHONY:enter +enter: + make -C build.assets ente...
U2F is turned off by default (when teleport.yaml is missing)
gravitational_teleport
train
0116a51428b6c34bcdd5d32b8674576154701196
diff --git a/src/DiDom/Element.php b/src/DiDom/Element.php index <HASH>..<HASH> 100644 --- a/src/DiDom/Element.php +++ b/src/DiDom/Element.php @@ -162,6 +162,28 @@ class Element } /** + * Searches for an node in the owner document using current node as context. + * + * @param string $expression ...
Add ability to search in owner document using current node as context
Imangazaliev_DiDOM
train
1cde972c42b671435834e31e293ab08beee08474
diff --git a/handlers/delete_lease.go b/handlers/delete_lease.go index <HASH>..<HASH> 100644 --- a/handlers/delete_lease.go +++ b/handlers/delete_lease.go @@ -7,8 +7,6 @@ import ( "github.com/deis/k8s-claimer/k8s" "github.com/deis/k8s-claimer/leases" "github.com/pborman/uuid" - k8sapi "k8s.io/kubernetes/pkg/api" ...
fix(delete_lease): Comment out the code that cleans up namespaces this is causing havoc on the deis cluster this runs on
deis_k8s-claimer
train
9cbbf79972441beed3539c338ecdf7a79d4a7578
diff --git a/pyrogram/types/messages_and_media/message.py b/pyrogram/types/messages_and_media/message.py index <HASH>..<HASH> 100644 --- a/pyrogram/types/messages_and_media/message.py +++ b/pyrogram/types/messages_and_media/message.py @@ -84,7 +84,7 @@ class Message(Object, Update): For messages forwarded ...
Add missing info in forward_from_chat (#<I>) Added info regarding supergroup in forward_from_chat
pyrogram_pyrogram
train
9115c32e93ee574f4f3bfd68252ffc93e485249b
diff --git a/lib/net/ssh/test/socket.rb b/lib/net/ssh/test/socket.rb index <HASH>..<HASH> 100644 --- a/lib/net/ssh/test/socket.rb +++ b/lib/net/ssh/test/socket.rb @@ -25,8 +25,8 @@ module Net; module SSH; module Test @script = Script.new - script.gets(:kexinit, 1, 2, 3, 4, "test", "ssh-rsa", "none", "no...
Send KEXINIT without waiting from server.
net-ssh_net-ssh
train
579e20a4250b3c1d98699413b834b7faacc972d0
diff --git a/src/Repositories/Corporation/Ledger.php b/src/Repositories/Corporation/Ledger.php index <HASH>..<HASH> 100644 --- a/src/Repositories/Corporation/Ledger.php +++ b/src/Repositories/Corporation/Ledger.php @@ -81,15 +81,11 @@ trait Ledger int $month =...
fix(ledger): fix group by query in order to return bounties
eveseat_services
train
de0c6822e80fd1d4afc48f6a5c24af230af8f561
diff --git a/Tests/Generator/BundleGeneratorTest.php b/Tests/Generator/BundleGeneratorTest.php index <HASH>..<HASH> 100644 --- a/Tests/Generator/BundleGeneratorTest.php +++ b/Tests/Generator/BundleGeneratorTest.php @@ -12,12 +12,14 @@ namespace Sensio\Bundle\GeneratorBundle\Tests\Generator; use Sensio\Bundle\Genera...
Fixing test by using new Bundle object
sensiolabs_SensioGeneratorBundle
train
6a1357c2452451003a5fb97afea0b84728feb4ae
diff --git a/lib/accounts/update.js b/lib/accounts/update.js index <HASH>..<HASH> 100644 --- a/lib/accounts/update.js +++ b/lib/accounts/update.js @@ -25,7 +25,14 @@ function updateAccount (state, idOrObject, change, options) { doc = _.merge( _.omit(doc, ['username', '_rev']), _.omit(change, 'u...
fix: username change emits update only
hoodiehq_hoodie-account-server-api
train
807d7ba8ecbb4ee8a8ca32aae357a1ee0664106a
diff --git a/pkg/kubelet/rkt/rkt.go b/pkg/kubelet/rkt/rkt.go index <HASH>..<HASH> 100644 --- a/pkg/kubelet/rkt/rkt.go +++ b/pkg/kubelet/rkt/rkt.go @@ -70,8 +70,7 @@ const ( RktType = "rkt" DefaultRktAPIServiceEndpoint = "localhost:15441" - minimumRktBinVersion = "1.13.0" - recommendedRktB...
rkt: Remove recommended rkt version This has been unhelpful logspam forever basically. We always want newer versions of rkt to be viable options, and often they have bugfixes as well.
kubernetes_kubernetes
train
bc2471adf290b2a0ed39b1e635e40aafd235b9b1
diff --git a/lib/irc.js b/lib/irc.js index <HASH>..<HASH> 100755 --- a/lib/irc.js +++ b/lib/irc.js @@ -53,8 +53,14 @@ var Helper = { c: '', d: '' }, - prefixes: '', - prefixmodes: {}, + prefixes: '~&@%+', + prefixmodes: { + q: '~', + a: '&', + o: '@', + h: '%', + ...
Implementing a standard modes data structure for ircds that don't send out PREFIX. I'm not happy about adding this because ircds should be conforming to standards but some don't and it might break clients
ircanywhere_irc-factory
train
bb2389d7a2f58538e175a4201aacddeff3125e1c
diff --git a/serveit/server.py b/serveit/server.py index <HASH>..<HASH> 100644 --- a/serveit/server.py +++ b/serveit/server.py @@ -11,7 +11,7 @@ logger = get_logger(__name__) def exception_log_and_respond(exception, logger, message, status_code): """Log an error and send jsonified respond.""" - logger.error(...
Use built in exc_info arg to log exceptions
rtlee9_serveit
train
97c461c1c97ad1841b7da9c00331c0e9b12b0bc1
diff --git a/index.test.js b/index.test.js index <HASH>..<HASH> 100644 --- a/index.test.js +++ b/index.test.js @@ -194,3 +194,10 @@ it('works within @define-mixin', () => { '@define-mixin a $b { color: $b; width: 1 }' ) }) + +it('works inside function-like declarations', () => { + run( + '$a: 1; $b: 2; a{ ...
Add unit test for function-like syntax (#<I>)
postcss_postcss-simple-vars
train
56371310cca66c7a6762a3f4134ed796fb48e0b6
diff --git a/class/Cascade/ActionBlock.php b/class/Cascade/ActionBlock.php index <HASH>..<HASH> 100644 --- a/class/Cascade/ActionBlock.php +++ b/class/Cascade/ActionBlock.php @@ -118,12 +118,25 @@ class ActionBlock extends \Cascade\Core\Block // set outputs foreach ($this->output_values as $output => $out_val...
Action block can process returned array to set multiple outputs
smalldb_libSmalldb
train
96ca031d1335e9b951ed2a6d9e9d905a675aa6ee
diff --git a/lib/application/bomb_injector.rb b/lib/application/bomb_injector.rb index <HASH>..<HASH> 100644 --- a/lib/application/bomb_injector.rb +++ b/lib/application/bomb_injector.rb @@ -13,6 +13,14 @@ module Minesweeper private + def add_bombs(number = number_of_bombs) + if number > 0 + cel...
spec that mineboard receive at lest 1 bomb
ruba-ruba_minesweeper
train
8601de1e81866c565dfca1c9012c3abed71837f3
diff --git a/synthicity/urbansim/networks.py b/synthicity/urbansim/networks.py index <HASH>..<HASH> 100644 --- a/synthicity/urbansim/networks.py +++ b/synthicity/urbansim/networks.py @@ -1,13 +1,12 @@ import numpy as np, pandas as pd, time, sys import cPickle, os from synthicity.utils import misc -try: from pyaccess...
this way is cleaner - wait to import pyaccess
UDST_urbansim
train
d19b272589a456456b04114d22abe165367294a0
diff --git a/test/host/loader.js b/test/host/loader.js index <HASH>..<HASH> 100644 --- a/test/host/loader.js +++ b/test/host/loader.js @@ -310,6 +310,31 @@ runWithCallback(); }, + _updloadCoverage = function (/*configuration, options, verbose*/) { + var coverageData = JSON.stri...
Upload the coverage data per chunks (#<I>)
ArnaudBuchholz_gpf-js
train
e8cc38cf226705ee1d90987cd565338659934b1c
diff --git a/lib/godot/net/client.js b/lib/godot/net/client.js index <HASH>..<HASH> 100644 --- a/lib/godot/net/client.js +++ b/lib/godot/net/client.js @@ -171,6 +171,6 @@ Client.prototype.close = function () { var self = this; Object.keys(this.producers).forEach(function (id) { - self.remote(self.producers[i...
[fix] Fixed typo to ensure all producers are removed on the client's close.
nodejitsu_godot
train
eed3e63f3954dda06cae277fc7bc6371fbcc7c88
diff --git a/app/search_builders/hyrax/filter_by_type.rb b/app/search_builders/hyrax/filter_by_type.rb index <HASH>..<HASH> 100644 --- a/app/search_builders/hyrax/filter_by_type.rb +++ b/app/search_builders/hyrax/filter_by_type.rb @@ -29,8 +29,7 @@ module Hyrax end def models_to_solr_clause - # t...
Remove call to dead ActiveFedora code This conditional was needed to support ActiveFedora <I>. We have since dropped support, so the check is no longer needed.
samvera_hyrax
train
dde404a5927d5c0353e44450dc39bd925fa81601
diff --git a/hermes-core/src/main/java/com/davidbracewell/hermes/HString.java b/hermes-core/src/main/java/com/davidbracewell/hermes/HString.java index <HASH>..<HASH> 100644 --- a/hermes-core/src/main/java/com/davidbracewell/hermes/HString.java +++ b/hermes-core/src/main/java/com/davidbracewell/hermes/HString.java @@ -9...
Hstring implementations of related object methods.
dbracewell_hermes
train
6e7f5c768a82c7d954913869f6f95a46024dc081
diff --git a/autofit/graphical/factor_graphs/jacobians.py b/autofit/graphical/factor_graphs/jacobians.py index <HASH>..<HASH> 100644 --- a/autofit/graphical/factor_graphs/jacobians.py +++ b/autofit/graphical/factor_graphs/jacobians.py @@ -54,6 +54,7 @@ class FactorJacobian(Factor): def __init__( self,...
bugfixing deterministic Factor Node
rhayes777_PyAutoFit
train
72ae8c8f33ba6526f78fc3616e90b0850c8379c2
diff --git a/agent/dns.go b/agent/dns.go index <HASH>..<HASH> 100644 --- a/agent/dns.go +++ b/agent/dns.go @@ -272,7 +272,7 @@ func (d *DNSServer) addSOA(msg *dns.Msg) { func (d *DNSServer) nameservers(edns bool) (ns []dns.RR, extra []dns.RR) { // get server names and store them in a map to randomize the output se...
Go back to using <nodename>.node.dc.consul as the name of the ns record being returned.
hashicorp_consul
train
f9010c18cc90465ac332f1b88cd29a202a5fb615
diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/install/InstallCommand.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/install/InstallCommand.java index <HASH>..<HASH> 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/install/Instal...
Fix install command on Windows Windows absolute paths cannot be processed by the CLI compiler, so the install command wasn't working on Windows. This change converts ths path to a URI first and then it works as a Spring Resource.
spring-projects_spring-boot
train
6519f8247a6291f803d082a6d994f7256a4039bd
diff --git a/error.go b/error.go index <HASH>..<HASH> 100644 --- a/error.go +++ b/error.go @@ -35,6 +35,11 @@ type Error struct { Desc string } +// Error prints the error code and description in a readable format. +func (e *Error) Error() string { + return fmt.Sprintf("Error %d: %s", e.Code, e.Desc) +} + // Note:...
Move the Error method closer to the Error type.
go-gl_glfw
train
7ed0360850665686876dae1e671fda93da7f13be
diff --git a/go/ephemeral/lib.go b/go/ephemeral/lib.go index <HASH>..<HASH> 100644 --- a/go/ephemeral/lib.go +++ b/go/ephemeral/lib.go @@ -28,6 +28,15 @@ var adminWhitelist = map[keybase1.UID]bool{ "69da56f622a2ac750b8e590c3658a700": true, // jzila "1563ec26dc20fd162a4f783551141200": true, // patrick "6f95d398287...
update whitelist (#<I>)
keybase_client
train
5bf2157ce03553063866eb00d4a9f27f4ba633eb
diff --git a/test/middleware/errorHandler-test.js b/test/middleware/errorHandler-test.js index <HASH>..<HASH> 100644 --- a/test/middleware/errorHandler-test.js +++ b/test/middleware/errorHandler-test.js @@ -1,6 +1,7 @@ var vows = require('vows'); var assert = require('assert'); var events = require('events'); +var x...
Fix failing tests for errorHandler middleware.
jaredhanson_junction
train
83db19ad92f99604e25e2762526f21907e1f32b3
diff --git a/github/config.go b/github/config.go index <HASH>..<HASH> 100644 --- a/github/config.go +++ b/github/config.go @@ -177,7 +177,8 @@ func (c *Config) scanLine() string { } func getPassword() (string, error) { - initialTermState, err := terminal.GetState(syscall.Stdin) + stdin := int(syscall.Stdin) + initi...
Fix Windows compilation issue Fixes weird failure that happens only on Windows: cannot use syscall.Stdin (type syscall.Handle) as type int in argument to terminal.GetState I would guess `syscall.Stdin` is of different type on Windows and that this might be a Go bug.
github_hub
train
c3bb5c531815d0e359bf2c903bfb10154c0ce189
diff --git a/src/JsPhpize/Parser/Parser.php b/src/JsPhpize/Parser/Parser.php index <HASH>..<HASH> 100644 --- a/src/JsPhpize/Parser/Parser.php +++ b/src/JsPhpize/Parser/Parser.php @@ -412,7 +412,7 @@ class Parser extends TokenExtractor { $this->stack[] = $block; $next = $this->get(0); - if ...
Move parentheses inside instructions for Main block
pug-php_js-phpize
train
73d7de6ab0b9fc41507ba2efb3a6fc0f237d0bb9
diff --git a/gulpfile.js b/gulpfile.js index <HASH>..<HASH> 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -47,7 +47,11 @@ gulp.task('tslint', function() { gulp.task('lint', ['eslint', 'tslint']); -gulp.task('build-es5', ['clean'], function() { +gulp.task('build-es5', function(done) { + runSequence('build-es5-ts',...
Maybe fix the gulp build for good now :<I>:
ionic-team_legacy-ionic-cloud
train
ee76f2ede41fda8ca1d33c77d840a0f5a56029b7
diff --git a/src/masonite/mail/drivers/MailgunDriver.py b/src/masonite/mail/drivers/MailgunDriver.py index <HASH>..<HASH> 100644 --- a/src/masonite/mail/drivers/MailgunDriver.py +++ b/src/masonite/mail/drivers/MailgunDriver.py @@ -43,7 +43,7 @@ class MailgunDriver: def send(self): domain = self.options[...
Adding region in mail gun mail.py config in tests and refactoring region default value.
MasoniteFramework_masonite
train
ad8c0bdea4f0a39f65b993d22faf4bbe4a50afcd
diff --git a/Facades/Validator.php b/Facades/Validator.php index <HASH>..<HASH> 100755 --- a/Facades/Validator.php +++ b/Facades/Validator.php @@ -3,7 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @method static \Illuminate\Validation\Validator make(array $data, array $rules, array $messages = [], array $cu...
reset doc block (#<I>) Request to revert #<I> as discussed on that pull request.
illuminate_support
train
bdbc8c26b80b194f5a3157e97f728d64724b7282
diff --git a/lib/support/chrome-perflog-parser.js b/lib/support/chrome-perflog-parser.js index <HASH>..<HASH> 100644 --- a/lib/support/chrome-perflog-parser.js +++ b/lib/support/chrome-perflog-parser.js @@ -297,26 +297,30 @@ function populateEntryFromResponse(entry, response, timestamp) { entry.request.httpVersion...
HAR header size isn't applicable to h2. Headers in http 2 are compressed and binary etc. No good way of showing this in har.
sitespeedio_browsertime
train
2c67ed5570b1b269c792b68a4adabea6b674963e
diff --git a/spec/support/database.rb b/spec/support/database.rb index <HASH>..<HASH> 100644 --- a/spec/support/database.rb +++ b/spec/support/database.rb @@ -46,7 +46,9 @@ def install_extension_if_missing(name, query, expected_result) # rubocop:disable rescue begin if postgresql_version >= 90100 - Active...
Don’t install extension if already installed
Casecommons_pg_search
train
14f66ae8fd6eddb8d49f22f9d41a79fdd778945f
diff --git a/src/Client.php b/src/Client.php index <HASH>..<HASH> 100644 --- a/src/Client.php +++ b/src/Client.php @@ -281,9 +281,10 @@ class Client implements ClientInterface /** * Expand a URI template and inherit from the base URL if it's relative * - * @param string|array $url URL or URI templa...
URI template arrays always require a list of two elements. Closes #<I>
guzzle_guzzle
train
8ca5dcbb969a6f400c2c8022178d3252edab16b2
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -231,14 +231,12 @@ function getErrorPrefix({timedOut, timeout, signal, exitCodeName, exitCode, isCa return `failed with exit code ${exitCode} (${exitCodeName})`; } -function joinCommand(command, args) { - let joinedComman...
Small refactoring of joinCommand() (#<I>)
sindresorhus_execa
train
7b7a14fd468b39e191fca496b05394a401ced272
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py index <HASH>..<HASH> 100755 --- a/tools/run_tests/run_tests.py +++ b/tools/run_tests/run_tests.py @@ -202,7 +202,9 @@ class NodeLanguage(object): def pre_build_steps(self): # Default to 1 week cache expiration - return [['npm', 'updat...
Fix npm install failing to download Node headers in run_tests.py
grpc_grpc
train
3ddbb4bf0bd2d5573dc8cb2f25f0a485e098f5f3
diff --git a/modules/citrus-core/src/main/java/com/consol/citrus/validation/json/JsonSchemaValidation.java b/modules/citrus-core/src/main/java/com/consol/citrus/validation/json/JsonSchemaValidation.java index <HASH>..<HASH> 100644 --- a/modules/citrus-core/src/main/java/com/consol/citrus/validation/json/JsonSchemaValid...
(#<I>) Added test that verifies, that the JsonMessageValidationContext is passed to the JsonSchemaValidation
citrusframework_citrus
train
38df79e53aac5503a5f23419c76489ec4221866e
diff --git a/spec/lib/phony/countries/germany_spec.rb b/spec/lib/phony/countries/germany_spec.rb index <HASH>..<HASH> 100644 --- a/spec/lib/phony/countries/germany_spec.rb +++ b/spec/lib/phony/countries/germany_spec.rb @@ -22,6 +22,9 @@ describe Phony::Countries::Germany do it "should handle service numbers with 1...
+ spec for German <I> numbers, as reported by kbingman and jcfischer
floere_phony
train
6dafa299b06022fe5f3138d63f8671ab02c2e5bb
diff --git a/django_static/templatetags/django_static.py b/django_static/templatetags/django_static.py index <HASH>..<HASH> 100644 --- a/django_static/templatetags/django_static.py +++ b/django_static/templatetags/django_static.py @@ -27,8 +27,7 @@ except ImportError: if sys.platform == "win32": _CAN_SYMLINK = Fa...
Fixed logic in DJANGO_STATIC_USE_SYMLINK handling.
peterbe_django-static
train
5f44ff2cb32cd36434e6d5a6e6a99ece476f6cc4
diff --git a/dna-common/src/main/java/org/jboss/dna/common/monitor/SimpleProgressMonitor.java b/dna-common/src/main/java/org/jboss/dna/common/monitor/SimpleProgressMonitor.java index <HASH>..<HASH> 100644 --- a/dna-common/src/main/java/org/jboss/dna/common/monitor/SimpleProgressMonitor.java +++ b/dna-common/src/main/ja...
Removed the static constant for an empty string, as Java always interns all string literals such as "". So, there is no performance or efficiency benefit, and its simpler (if not shorter) to use "" rather than a constant. git-svn-id: <URL>
ModeShape_modeshape
train
5f3377b50dd920fc58e498b07b40a69f85f5a594
diff --git a/pyqode/core/widgets/filesystem_treeview.py b/pyqode/core/widgets/filesystem_treeview.py index <HASH>..<HASH> 100644 --- a/pyqode/core/widgets/filesystem_treeview.py +++ b/pyqode/core/widgets/filesystem_treeview.py @@ -260,7 +260,10 @@ class _FSHelper: if rep == QtWidgets.QMessageBox.Yes: ...
Fix delete directory Fix for the previous commit, tab might be None
pyQode_pyqode.core
train
55b6a3df533e1cc2bc81cab7e3a5d8e39d581659
diff --git a/salt/modules/pw_user.py b/salt/modules/pw_user.py index <HASH>..<HASH> 100644 --- a/salt/modules/pw_user.py +++ b/salt/modules/pw_user.py @@ -125,7 +125,7 @@ def delete(name, remove=False, force=False): cmd = 'pw userdel ' if remove: cmd += '-r ' - cmd += name + cmd += '-n ' + name...
Fix user account deletion under FreeBSD.
saltstack_salt
train
ca4cdd068295e6f0d910dfe274faeddab4010927
diff --git a/Gemfile.lock b/Gemfile.lock index <HASH>..<HASH> 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - cocoapods-tdfire-binary (1.0.7) + cocoapods-tdfire-binary (1.0.8) cocoapods (~> 1.2) cocoapods-packager (~> 1.5.0) diff --git a/lib/cocoapods-td...
fix: undefined method dependency= for PlatformProxy
tripleCC_cocoapods-tdfire-binary
train
1744e7e627edbf06b06fc908c7e585f335c2379a
diff --git a/public/js/chrome/analytics.js b/public/js/chrome/analytics.js index <HASH>..<HASH> 100644 --- a/public/js/chrome/analytics.js +++ b/public/js/chrome/analytics.js @@ -1,51 +1,51 @@ var analytics = { revert: function () { - window._gaq && _gaq.push(['_trackPageview', '/revert' + window.location.pathna...
Prefix dynamic analytics with /action to make them easier to find
jsbin_jsbin
train
decf40fabe5309859314e075754b5799d6c188eb
diff --git a/src/FluentDOM/Loader/JSONx.php b/src/FluentDOM/Loader/JSONx.php index <HASH>..<HASH> 100644 --- a/src/FluentDOM/Loader/JSONx.php +++ b/src/FluentDOM/Loader/JSONx.php @@ -43,24 +43,7 @@ namespace FluentDOM\Loader { */ public function load($source, $contentType, $options = []) { if ($this->...
refactor libxml document load into the support trait
ThomasWeinert_FluentDOM
train
e21fc267c0ada1377bffcc008dad31c28326690d
diff --git a/README.md b/README.md index <HASH>..<HASH> 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Docs & tutorials should be ready within a month. See some [examples](examples) t + [Asynchronous Advantage Actor-Critic(A3C) with demos on OpenAI Gym](examples/A3C-Gym) ### Unsupervised Learning: -+ [Sev...
use get_extra_fetches() to allow trainer to fetch something more at certain steps.
tensorpack_tensorpack
train
b2857b3c419e2d39bf2528dd1c21b3663d6d5f3b
diff --git a/papermill/tests/test_translators.py b/papermill/tests/test_translators.py index <HASH>..<HASH> 100644 --- a/papermill/tests/test_translators.py +++ b/papermill/tests/test_translators.py @@ -250,6 +250,66 @@ def test_translate_codify_csharp(parameters, expected): assert translators.CSharpTranslator.cod...
Translator: F# (dotnet-fsharp) (#<I>) F# support
nteract_papermill
train
5e4f8e7fb82919d992887fca1741bb04ef1c8f4a
diff --git a/src/main/java/org/junit/internal/requests/ClassesRequest.java b/src/main/java/org/junit/internal/requests/ClassesRequest.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/junit/internal/requests/ClassesRequest.java +++ b/src/main/java/org/junit/internal/requests/ClassesRequest.java @@ -1,28 +1,21 @@...
New Suite implementation makes ClassesRequest crazy simple
junit-team_junit4
train
c9976f57d0de6cd54978a3ac5b96656d79a97fdb
diff --git a/webview/platforms/qt.py b/webview/platforms/qt.py index <HASH>..<HASH> 100755 --- a/webview/platforms/qt.py +++ b/webview/platforms/qt.py @@ -16,7 +16,6 @@ from copy import deepcopy from threading import Semaphore, Event from webview import _debug, _user_agent, OPEN_DIALOG, FOLDER_DIALOG, SAVE_DIALOG, ...
[QT] use new per-window localization object.
r0x0r_pywebview
train
e642f6cbc945a23e1919c683b1c4c8676aacdd0a
diff --git a/src/Commands/App/Builder.php b/src/Commands/App/Builder.php index <HASH>..<HASH> 100644 --- a/src/Commands/App/Builder.php +++ b/src/Commands/App/Builder.php @@ -31,7 +31,7 @@ class Builder extends Command /** * {@inheritdoc} */ - protected $description = 'Perform an application build';...
Updates app:rename and app:build descriptions
laravel-zero_framework
train
b0c57e114a06bedac4da57d2345f470bc059555d
diff --git a/csirtg_indicator/utils.py b/csirtg_indicator/utils.py index <HASH>..<HASH> 100644 --- a/csirtg_indicator/utils.py +++ b/csirtg_indicator/utils.py @@ -42,6 +42,8 @@ def resolve_itype(indicator, test_broken=False): socket.inet_pton(socket.AF_INET6, s) except socket.error as e: ...
fixing tests, py2 unicode issue with ipv6
csirtgadgets_csirtg-indicator-py
train
6d5e699cf4ca14a152d15d6a9e031646e429c055
diff --git a/pyrtl/helperfuncs.py b/pyrtl/helperfuncs.py index <HASH>..<HASH> 100644 --- a/pyrtl/helperfuncs.py +++ b/pyrtl/helperfuncs.py @@ -165,6 +165,17 @@ def truncate(wirevector_or_integer, bitwidth): return x & ((1 << bitwidth) - 1) +class MatchedFields(collections.namedtuple('MatchedFields', 'match...
ability to pattern match against matched fields in with statements
UCSBarchlab_PyRTL
train
258ca96acd54a61ffd8222bb0a1596173d570c6f
diff --git a/lib/machinist.rb b/lib/machinist.rb index <HASH>..<HASH> 100644 --- a/lib/machinist.rb +++ b/lib/machinist.rb @@ -12,7 +12,7 @@ module Machinist def self.run(object, *args) blueprint = object.class.blueprint named_blueprint = object.class.blueprint(args.shift) if args.first.is_a?(S...
Refactored code to make Lathe easier to understand.
notahat_machinist
train
8626f1a219a4d2c132755cf180455f82588c6054
diff --git a/lib/pxenforcer.js b/lib/pxenforcer.js index <HASH>..<HASH> 100644 --- a/lib/pxenforcer.js +++ b/lib/pxenforcer.js @@ -183,9 +183,7 @@ class PxEnforcer { } verifyUserScore(ctx, callback) { - const startRiskRtt = Date.now(); ctx.riskRtt = 0; - try { if (!ctx....
start risk rtt moved to after cookie decryption
PerimeterX_perimeterx-node-core
train
22345dd279fdfcf29c7d4ad28225cf2d26d33bb4
diff --git a/openquake/engine/calculators/hazard/event_based/__init__.py b/openquake/engine/calculators/hazard/event_based/__init__.py index <HASH>..<HASH> 100644 --- a/openquake/engine/calculators/hazard/event_based/__init__.py +++ b/openquake/engine/calculators/hazard/event_based/__init__.py @@ -126,4 +126,8 @@ post_...
calcs/hazard/event_based: Added a note about mean and quantile hazard curves. Former-commit-id: <I>d<I>efbfb<I>f<I>e<I>d<I>de<I>
gem_oq-engine
train
f8ca40505221a1152342a7bec7df4c1ced36a117
diff --git a/admin/xmldb/actions/test/test.class.php b/admin/xmldb/actions/test/test.class.php index <HASH>..<HASH> 100644 --- a/admin/xmldb/actions/test/test.class.php +++ b/admin/xmldb/actions/test/test.class.php @@ -655,7 +655,6 @@ class test extends XMLDBAction { $test = new stdClass; $fie...
re-enabling the rename_field() test
moodle_moodle
train
aaca940fdd68e101c591fdeec7328d5b8f381cd1
diff --git a/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/signer.rb b/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/signer.rb index <HASH>..<HASH> 100644 --- a/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/signer.rb +++ b/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/signer.rb @@ -22,7 +22,7 @@ module Aws d...
Fix typo (#<I>)
aws_aws-sdk-ruby
train
0c8780e1500ee1b9906f64eb9ca895ca1357c12d
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -50,6 +50,7 @@ try: packages=['pyontutils'], install_requires=[ 'docopt', + 'flask', 'gitpython', 'ipython', 'joblib',
setup.py added missing dependency on flask
tgbugs_pyontutils
train
9a7164e3c9c1c4a8c449d97f09b00b4e3278a6bb
diff --git a/Kwc/Newsletter/Subscribe/Component.php b/Kwc/Newsletter/Subscribe/Component.php index <HASH>..<HASH> 100644 --- a/Kwc/Newsletter/Subscribe/Component.php +++ b/Kwc/Newsletter/Subscribe/Component.php @@ -24,6 +24,16 @@ class Kwc_Newsletter_Subscribe_Component extends Kwc_Form_Component return $ret; ...
query newsletter_component_id when searching for already subsribed email
koala-framework_koala-framework
train
573d7f88a40f74dddd2441d2ac018442eec42545
diff --git a/res/block_components.php b/res/block_components.php index <HASH>..<HASH> 100644 --- a/res/block_components.php +++ b/res/block_components.php @@ -7,11 +7,11 @@ $desc = array( 'CiviContribute' => ts('Accept donations and payments'), 'CiviEvent' => ts('Accept event registrations'), 'CiviMail' => ts(...
block_components.php - Tweak prose
civicrm_civicrm-setup
train
2afa5e094f845332153b932f9e162a473418dcd7
diff --git a/lib/l20n/context.js b/lib/l20n/context.js index <HASH>..<HASH> 100644 --- a/lib/l20n/context.js +++ b/lib/l20n/context.js @@ -2,9 +2,6 @@ var EventEmitter = require('./events').EventEmitter; var Parser = require('./parser').Parser; - var compile = require('./compiler').compile; - var io = require...
minor require cleanups and reduce the stack for onJSONLoaded
l20n_l20n.js
train
93db1d636ab99789537dd6d3cd8d028eb1cc8c6a
diff --git a/libkbfs/bcache.go b/libkbfs/bcache.go index <HASH>..<HASH> 100644 --- a/libkbfs/bcache.go +++ b/libkbfs/bcache.go @@ -268,6 +268,34 @@ func (b *BlockCacheStandard) DeletePermanent(id BlockID) error { return nil } +// DeleteTransient implements the BlockCache interface for BlockCacheStandard. +func (b ...
bcache: allow transient entries to be explicitly deleted Issue: KBFS-<I>
keybase_client
train
03a6b6cae2f49ffb5c1fb55e730960448303a143
diff --git a/tests/Css/StyleTest.php b/tests/Css/StyleTest.php index <HASH>..<HASH> 100644 --- a/tests/Css/StyleTest.php +++ b/tests/Css/StyleTest.php @@ -33,57 +33,83 @@ class StyleTest extends TestCase $this->assertEquals(12, $length); } + public function cssImageBasicProvider(): array + { + ...
Extend tests for resolving URLs in stylesheets Without `$sheet->set_base_path(__DIR__)`, the stylesheet location would be the location of phpunit.
dompdf_dompdf
train
d5af5594c44d5e5dd887e6515704cae4a211bd37
diff --git a/src/controllers/ServerController.php b/src/controllers/ServerController.php index <HASH>..<HASH> 100644 --- a/src/controllers/ServerController.php +++ b/src/controllers/ServerController.php @@ -498,7 +498,7 @@ class ServerController extends CrudController ], 'buy' => [ ...
changed param `organization.url` <- orgUrl
hiqdev_hipanel-module-server
train
704d75daccfaf4f1164b7d3d16e5a5c224d3ac72
diff --git a/porespy/tools/__funcs__.py b/porespy/tools/__funcs__.py index <HASH>..<HASH> 100644 --- a/porespy/tools/__funcs__.py +++ b/porespy/tools/__funcs__.py @@ -1254,7 +1254,7 @@ def extract_regions(regions, labels: list, trim=True): def size_to_seq(size, im=None, bins=None): r""" - Converts an image o...
Added docstring to size_to_satn
PMEAL_porespy
train
264e4523109a9f818659dbb99c55c1e3a3b208f0
diff --git a/nist_randomness_beacon.py b/nist_randomness_beacon.py index <HASH>..<HASH> 100755 --- a/nist_randomness_beacon.py +++ b/nist_randomness_beacon.py @@ -3,9 +3,6 @@ from xml.etree import ElementTree -NIST_BASE_URL = "https://beacon.nist.gov/rest/record" - - class NistBeaconValue(object): NIST_KEY_F...
NistBeacon will retrieve, cache, and manage beacon activity
urda_nistbeacon
train