hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
595ff2f6a8cdcefeba5abc1488d813f73297687c
diff --git a/plenum/server/catchup/node_leecher_service.py b/plenum/server/catchup/node_leecher_service.py index <HASH>..<HASH> 100644 --- a/plenum/server/catchup/node_leecher_service.py +++ b/plenum/server/catchup/node_leecher_service.py @@ -245,12 +245,10 @@ class NodeLeecherService: audit_txn = audit_...
INDY-<I>: Improve _calc_nodes_ledger_sizes
hyperledger_indy-plenum
train
py
82784db5d24c67dc7323cb0c771409bab4afda8c
diff --git a/lxd/apparmor.go b/lxd/apparmor.go index <HASH>..<HASH> 100644 --- a/lxd/apparmor.go +++ b/lxd/apparmor.go @@ -250,6 +250,22 @@ const AA_PROFILE_NESTING = ` mount options=bind /var/lib/lxd/shmounts/** -> /var/lib/lxd/**, ` +const AA_PROFILE_UNPRIVILEGED = ` + pivot_root, + + mount options=(rw,make-s...
apparmor: Be less restrictive when unprivileged This change allows: - Various remount of / - pivot_root inside the container - All bind mounts This can be used to bypass a bunch of our apparmor restrictions and so would be completely unacceptable for privileged containers. But since we use apparmor mostly as an ad...
lxc_lxd
train
go
d42cbd1c14df2327874ad20032c7f01d9c48464a
diff --git a/docs/docs_message.rst b/docs/docs_message.rst index <HASH>..<HASH> 100644 --- a/docs/docs_message.rst +++ b/docs/docs_message.rst @@ -15,7 +15,12 @@ Attributes channel ~~~~~~~ -The channel the message sent in, either a TextChannel_ or PMChannel_. +The channel the message was sent in, either a TextC...
Add server property to the Message class Extremely simple change, but I (and others) would probably find it a nice shortcut.
discordjs_discord.js
train
rst,js,js
81979fcdec14e040a12e7218448c0a06caf7063a
diff --git a/autobahn_autoreconnect/__init__.py b/autobahn_autoreconnect/__init__.py index <HASH>..<HASH> 100644 --- a/autobahn_autoreconnect/__init__.py +++ b/autobahn_autoreconnect/__init__.py @@ -172,7 +172,7 @@ class ApplicationRunner(object): txaio.use_asyncio() txaio.config.loop = self._loop -...
fix syntax error async is a python keyword. the way to make asyncio submit a coroutine to a loop is run_coroutine_threadsafe()
isra17_autobahn-autoreconnect
train
py
291a39fa53b1dbcde4fa0ffb73af1afcdf8d0527
diff --git a/src/main/org/openscience/cdk/geometry/cip/CIPTool.java b/src/main/org/openscience/cdk/geometry/cip/CIPTool.java index <HASH>..<HASH> 100644 --- a/src/main/org/openscience/cdk/geometry/cip/CIPTool.java +++ b/src/main/org/openscience/cdk/geometry/cip/CIPTool.java @@ -108,7 +108,8 @@ public class CIPTool { ...
Added comment in JavaDoc about the sorted nature of the method input
cdk_cdk
train
java
621c70ee4dc011e6b1136b8b64e987283102bb1a
diff --git a/core-bundle/src/Resources/contao/library/Contao/User.php b/core-bundle/src/Resources/contao/library/Contao/User.php index <HASH>..<HASH> 100644 --- a/core-bundle/src/Resources/contao/library/Contao/User.php +++ b/core-bundle/src/Resources/contao/library/Contao/User.php @@ -156,6 +156,16 @@ abstract class U...
[Core] Restore the `User::getData()` method (see #<I>)
contao_contao
train
php
08d13da930ada7fc1394807f561ab65bb76b09e4
diff --git a/lib/cli/runner.rb b/lib/cli/runner.rb index <HASH>..<HASH> 100644 --- a/lib/cli/runner.rb +++ b/lib/cli/runner.rb @@ -410,8 +410,7 @@ class VMC::Cli::Runner def run - trap('TERM') { print "\nInterrupted\n"; exit(false)} - trap('INT') { print "\nInterrupted\n"; exit(false)} + trap('TERM') {...
catch interrupts as an exception so it can be caught elsewhere too Change-Id: I0d<I>c<I>c<I>bf<I>eaf<I>a<I>ee0c<I>c
cloudfoundry-attic_cf
train
rb
e6ca8b1fec50b8d0655af190b6ef2d9e15d7a7d6
diff --git a/java/client/test/org/openqa/selenium/testing/drivers/ReflectionBackedDriverSupplier.java b/java/client/test/org/openqa/selenium/testing/drivers/ReflectionBackedDriverSupplier.java index <HASH>..<HASH> 100644 --- a/java/client/test/org/openqa/selenium/testing/drivers/ReflectionBackedDriverSupplier.java +++ ...
[java] Fixing HtmlUnit driver initialization in tests
SeleniumHQ_selenium
train
java
24f457eb5be0ce63eef87e48767e82c3d3fe7e2c
diff --git a/test/test.js b/test/test.js index <HASH>..<HASH> 100644 --- a/test/test.js +++ b/test/test.js @@ -57,9 +57,9 @@ function mockRequest(filename) { describe('dvb.monitor', function () { function assertTransport(transport) { - assert(transport.line); - assert(transport.direction); - ...
fixed test.js to correctly check the output of changed monitor().
kiliankoe_dvbjs
train
js
eb59de978ae2dfc428323cecb0c4ca5c34e8d718
diff --git a/lib/sfn/monkey_patch/stack.rb b/lib/sfn/monkey_patch/stack.rb index <HASH>..<HASH> 100644 --- a/lib/sfn/monkey_patch/stack.rb +++ b/lib/sfn/monkey_patch/stack.rb @@ -196,8 +196,8 @@ module Sfn if(self.api.class.const_get(:RESOURCE_MAPPING).fetch(resource.type, {})[:api] == :orchestration) ...
Stuff extra data into the `data` hash
sparkleformation_sfn
train
rb
d384d2fa0edd9cfec9679b30787414ddb6c9591b
diff --git a/testrail/case.py b/testrail/case.py index <HASH>..<HASH> 100644 --- a/testrail/case.py +++ b/testrail/case.py @@ -106,6 +106,12 @@ class Case(TestRailBase): s = self.api.suite_with_id(self._content.get('suite_id')) return Suite(s) if s else Suite() + @suite.setter + def suite(self...
create setter for suite (#<I>) create setter for suite in case
travispavek_testrail-python
train
py
63a374846d71d0f84c7dcfbdc43e522d408a34b7
diff --git a/lib/index.js b/lib/index.js index <HASH>..<HASH> 100644 --- a/lib/index.js +++ b/lib/index.js @@ -550,7 +550,7 @@ * @arg {Snowflake} [input.channelID] - [Important] The ID of the channel you want the instant invite to point to. */ DCP.editServerWidget = function(input, callback) { - var payload, u...
Pushing without testing.. again :(
izy521_discord.io
train
js
22495222e004b7c7e1665e2d1f16c19910cd5c62
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -76,7 +76,8 @@ function transformSource (runner, config, source, map, callback) { runnerPath, ioDelimiter, config.engine - ) + ), + { stdio: ['pipe', 'pipe', process.stderr] } ) if (config.t...
Delegate stderr to process.stderr
usabilityhub_rails-erb-loader
train
js
5790c156f0a05cbca26a71ddbd704c34a21ceb8c
diff --git a/xdr2/encode.go b/xdr2/encode.go index <HASH>..<HASH> 100644 --- a/xdr2/encode.go +++ b/xdr2/encode.go @@ -109,7 +109,7 @@ func (enc *Encoder) EncodeInt(v int32) (int, error) { return n, nil } -// EncodeInt writes the XDR encoded representation of the passed 32-bit +// EncodeUint writes the XDR encoded...
Correct a couple of comment issues found by golint.
davecgh_go-xdr
train
go
64bf6a3c63ef76ed7c5dabac52b68c1797a998ba
diff --git a/scapy/contrib/lldp.py b/scapy/contrib/lldp.py index <HASH>..<HASH> 100644 --- a/scapy/contrib/lldp.py +++ b/scapy/contrib/lldp.py @@ -38,7 +38,6 @@ - multiplicity of TLVs (if given by the standard) - min sizes of strings used by the TLVs - conf.contribs['LLDP'].strict_mode_di...
"import scapy.contrib.lldp" shouldn't enable debug_dissector conf.debug_dissector is being enabled as a side-effect of importing scapy.contrib.lldp. This module doesn't "own" debug_dissector, it should respect the value that the user configured and follow the principle of least surprise.
secdev_scapy
train
py
9240ecbd983dc0dd0b286e89deeafcfbfdd1847b
diff --git a/lib/setup.php b/lib/setup.php index <HASH>..<HASH> 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -289,6 +289,11 @@ umask(0000); $CFG->yui2version = '2.9.0'; $CFG->yui3version = '3.9.1'; +if (!defined('MOODLE_INTERNAL')) { // Necessary because cli installer has to define it earlier. + /** Used by...
MDL-<I> move MOODLE_INTERNAL define before core_component include This resolves problems with MOODLE_INTERNAL in db/subplugins.php
moodle_moodle
train
php
9c1b6a4280d190f6b8403102dee0c61a1cfa25b7
diff --git a/src/test/java/com/simpligility/maven/plugins/android/AndroidSdkTest.java b/src/test/java/com/simpligility/maven/plugins/android/AndroidSdkTest.java index <HASH>..<HASH> 100644 --- a/src/test/java/com/simpligility/maven/plugins/android/AndroidSdkTest.java +++ b/src/test/java/com/simpligility/maven/plugins/a...
reactivated Sdk test for <I>
simpligility_android-maven-plugin
train
java
ec183da70a58eeca522c13c3928dcce221196e3c
diff --git a/views/js/ui/dynamicComponent.js b/views/js/ui/dynamicComponent.js index <HASH>..<HASH> 100644 --- a/views/js/ui/dynamicComponent.js +++ b/views/js/ui/dynamicComponent.js @@ -111,13 +111,13 @@ define([ var config = this.config; var draggableContainer; var $...
move closer from interact's tap to click
oat-sa_tao-core
train
js
7c0d40146ce12866c29ceead3c1a37f1c074bba6
diff --git a/spec/rest/message_spec.rb b/spec/rest/message_spec.rb index <HASH>..<HASH> 100644 --- a/spec/rest/message_spec.rb +++ b/spec/rest/message_spec.rb @@ -9,4 +9,9 @@ describe Twilio::REST::Message do @message.should respond_to(:media) @message.media.instance_variable_get('@path').should == 'someUri/M...
Add spec to ensure old endpoint is not used
twilio_twilio-ruby
train
rb
83c0f37d6410a8d44ee2711a9ab4ea071e8e0bc3
diff --git a/odbc.js b/odbc.js index <HASH>..<HASH> 100644 --- a/odbc.js +++ b/odbc.js @@ -117,9 +117,11 @@ Database.prototype.open = function(connectionString, callback) { } self.dispatchOpen(connectionString, function (err) { - self.connected = true; - self.processQueue(); - + if (!err) { + ...
Don't set connected to true when the connect failed
ratanakvlun_node-odbc
train
js
9245eee7d4ecf03a640b3c54332bb8f24dfecf55
diff --git a/Nav.php b/Nav.php index <HASH>..<HASH> 100644 --- a/Nav.php +++ b/Nav.php @@ -148,7 +148,8 @@ class Nav extends Widget if (!isset($item['label'])) { throw new InvalidConfigException("The 'label' option is required."); } - $label = $this->encodeLabels ? Html::encode($it...
Allow an item to choose if it's encoded.
yiisoft_yii2-bootstrap4
train
php
52f7bb05b491527dffb364535c30a3a4bd91451a
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -181,7 +181,7 @@ class Request extends Component { } componentDidUpdate (prevProps, prevState) { - const diffProps = [ 'path', 'method', 'headers', 'payload' ] + const diffProps = [ 'path', 'metho...
Do not diff `headers` and `payload` in Request component cdu closes #1
tkh44_react-nes
train
js
5600b5ed1487212166cb1609052041935d388d04
diff --git a/mode/shell/shell.js b/mode/shell/shell.js index <HASH>..<HASH> 100644 --- a/mode/shell/shell.js +++ b/mode/shell/shell.js @@ -30,9 +30,9 @@ CodeMirror.defineMode('shell', function() { // Commands define('builtin', 'ab awk bash beep cat cc cd chown chmod chroot clear cp ' + - 'curl cut diff echo ...
[shell mode] Add hg and svn as highlighted commands
codemirror_CodeMirror
train
js
42ec01d02f936e3e773ba4b16ebc3354e2d37bae
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -11,5 +11,5 @@ setup( version=cwtools.__version__, description="Coreweb", packages=['cwtools', 'cwtools.test', 'twisted.plugins'], - package_data={'cwtools': ['*.html', 'testres/*', 'exp/*'],}, + package_data={'cwtools':...
setup.py: fix to properly install without error
ludiosarchive_Coreweb
train
py
1b22a404cfe5fb4feae4d00f0e96f93aaab058f3
diff --git a/lib/deployml/utils.rb b/lib/deployml/utils.rb index <HASH>..<HASH> 100644 --- a/lib/deployml/utils.rb +++ b/lib/deployml/utils.rb @@ -110,14 +110,10 @@ module DeploYML # # Starts a SSH session with the destination server. # - # @param [Array] commands - # Commands to run within the S...
Moved directory changing logic out of Utils#ssh and into Utils#remote_sh. * Utils#ssh should only handle starting the ssh session. * Let Utils#remote_sh worry about the commands.
postmodern_deployml
train
rb
f79e2b2bb9ad61bcf32f94bbf5ac055b3e32d750
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -306,7 +306,6 @@ SETUP_KWARGS = {'name': NAME, 'salt.search', 'salt.output', 'salt.utils', - 'salt.ssh', ...
Removed salt.ssh from the packages as it was moved to salt.client.ssh
saltstack_salt
train
py
715f54e22f5f11f0abd6d85fc1f03a878bdc82db
diff --git a/livvkit/components/verification.py b/livvkit/components/verification.py index <HASH>..<HASH> 100644 --- a/livvkit/components/verification.py +++ b/livvkit/components/verification.py @@ -290,7 +290,7 @@ def plot_bit_for_bit(case, var_name, model_data, bench_data, diff_data): pyplot.yticks([]) pypl...
Fix verification b4b plots
LIVVkit_LIVVkit
train
py
533c33be7aadfb36e59efed28b0d3950a8340149
diff --git a/src/main/java/org/takes/rs/xe/XeSource.java b/src/main/java/org/takes/rs/xe/XeSource.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/takes/rs/xe/XeSource.java +++ b/src/main/java/org/takes/rs/xe/XeSource.java @@ -24,6 +24,7 @@ package org.takes.rs.xe; import java.io.IOException; +import java.u...
#2 XeAppend with value
yegor256_takes
train
java
43b8c314f1d77114356946aabc0e166b72534ca0
diff --git a/src/utils.js b/src/utils.js index <HASH>..<HASH> 100644 --- a/src/utils.js +++ b/src/utils.js @@ -87,13 +87,13 @@ function checkExecutionPolicy () { * @param filePath - file path to check * @returns {boolean} - does the file path exist? */ -function isPathExists (filePath) { +function isPathAccessibl...
:wrench: Rename isPathExists to isPathAccessible
felixrieseberg_npm-windows-upgrade
train
js
c8c576e9993a03ed3f21239ebe15b5a528d93edf
diff --git a/WordPress/Sniffs/NamingConventions/PrefixAllGlobalsSniff.php b/WordPress/Sniffs/NamingConventions/PrefixAllGlobalsSniff.php index <HASH>..<HASH> 100644 --- a/WordPress/Sniffs/NamingConventions/PrefixAllGlobalsSniff.php +++ b/WordPress/Sniffs/NamingConventions/PrefixAllGlobalsSniff.php @@ -933,6 +933,14 @@ ...
Adds fallback for sniff when iconv is not available
WordPress-Coding-Standards_WordPress-Coding-Standards
train
php
6da62226c230cdf23dcecb0de2b1cc7f382c07ab
diff --git a/core/file-tree/index.js b/core/file-tree/index.js index <HASH>..<HASH> 100644 --- a/core/file-tree/index.js +++ b/core/file-tree/index.js @@ -128,7 +128,7 @@ var fileTree = function (dir) { try { fileJSON = JSON.parse(fs.readFileSync(infoJsonPath, "utf8")); ...
Error handler now is more terrifying (visually. So, errors not a joke)
sourcejs_Source
train
js
2bbe1bc5eabb98c3809195954e7b14397f4adb4b
diff --git a/test/main-module-test.js b/test/main-module-test.js index <HASH>..<HASH> 100644 --- a/test/main-module-test.js +++ b/test/main-module-test.js @@ -16,9 +16,7 @@ tape('main module should be worker module', function (assert) { supervisor.workers[0].process.on('message', function (message) { if (...
Eliminate superfluous closure in worker argv test
uber-archive_nanny
train
js
c8333b4c760df6f12b642b8fa4feb6b5b6374fe7
diff --git a/lib/tinker.js b/lib/tinker.js index <HASH>..<HASH> 100644 --- a/lib/tinker.js +++ b/lib/tinker.js @@ -26,7 +26,7 @@ module.exports = function tinker(filePath, eslintrc) { const tmpFile = tmpDir + path.sep + 'eslint-tinker-tmp-' + Date.now(); fs.writeFileSync(tmpFile, code); - const cmd = esl...
fix: suppress eol-last for it is unstable
benjycui_eslint-tinker
train
js
4e747a1ff6bd2cdb742481f5017f117dea19b17f
diff --git a/util/get-net.js b/util/get-net.js index <HASH>..<HASH> 100644 --- a/util/get-net.js +++ b/util/get-net.js @@ -3,7 +3,7 @@ var get = require('lodash.get') module.exports = function getNet (config) { var connection = get(config, 'connections.incoming.net', []) .find(function (transport) { - ret...
have get-net look for a transport which is EITHER private/public
ssbc_ssb-config
train
js
69076ce58b41df30ea2b4de1ce0f5ac241f6db63
diff --git a/js/ui/RadioGroup.js b/js/ui/RadioGroup.js index <HASH>..<HASH> 100644 --- a/js/ui/RadioGroup.js +++ b/js/ui/RadioGroup.js @@ -27,6 +27,10 @@ define(['js/ui/View', 'xaml!js/ui/Radio'], function(View, Radio) { child.set("name", this.$.name); child.bind("change:checked", this._onRadi...
fixed initial value of RadioGroup defined by sub radio controls with checked="true"
rappid_rAppid.js
train
js
071b29e608387fb7aad64c95f2d454fd3b221868
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -2,6 +2,7 @@ import glob import sys from setuptools import setup, Extension +from distutils.command.build_ext import build_ext sources = ['pycrfsuite/_pycrfsuite.cpp', 'pycrfsuite/trainer_wrapper.cpp'] @@ -25,10 +26,17...
customize build_ext to check complier
scrapinghub_python-crfsuite
train
py
139e30c1f69c0fd4e24d096abcc1926790c681b6
diff --git a/Gruntfile.js b/Gruntfile.js index <HASH>..<HASH> 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -88,11 +88,8 @@ module.exports = function(grunt) { }, coveralls: { options: { - debug: true, - coverage_dir: 'test/coverage/', - dryRun: true, force:...
fix(Gruntfile): coveralls
a8m_angular-filter
train
js
4236b290ddc2eb224f9ff834a21b373015aad782
diff --git a/git/types.py b/git/types.py index <HASH>..<HASH> 100644 --- a/git/types.py +++ b/git/types.py @@ -40,7 +40,7 @@ else: if sys.version_info[:2] < (3, 9): - PathLike = Union[str, bytes, os.PathLike] + PathLike = Union[str, os.PathLike[str]] else: # os.PathLike only becomes subscriptable from ...
fix: remove bytes type of PathLike
gitpython-developers_GitPython
train
py
e4e33ce154977168963e35067c22805d3677a8e4
diff --git a/lib/cinch/target.rb b/lib/cinch/target.rb index <HASH>..<HASH> 100644 --- a/lib/cinch/target.rb +++ b/lib/cinch/target.rb @@ -18,7 +18,7 @@ module Cinch # @return [void] # @see #safe_notice def notice(text) - msg(text, true) + send(text, true) end # Sends a PRIVMSG to t...
avoid deprecation warning in Target
cinchrb_cinch
train
rb
8437f9703fbd773cb36eb623aaef8d5953a7e821
diff --git a/charmhelpers/fetch/ubuntu.py b/charmhelpers/fetch/ubuntu.py index <HASH>..<HASH> 100644 --- a/charmhelpers/fetch/ubuntu.py +++ b/charmhelpers/fetch/ubuntu.py @@ -113,6 +113,14 @@ CLOUD_ARCHIVE_POCKETS = { 'ocata/proposed': 'xenial-proposed/ocata', 'xenial-ocata/proposed': 'xenial-proposed/ocata',...
Update fetch helper for pike as well
juju_charm-helpers
train
py
5539de5228794cab2312732db185b830de21ae3d
diff --git a/src/engine/FunctorProvider.js b/src/engine/FunctorProvider.js index <HASH>..<HASH> 100644 --- a/src/engine/FunctorProvider.js +++ b/src/engine/FunctorProvider.js @@ -3,6 +3,8 @@ const List = require('./List'); const Value = require('./Value'); const Variable = require('./Variable'); +const functorIdent...
update name check for functor identifier in functor provider
lps-js_lps.js
train
js
5843be2a29514fec36d01a10c49f44d36e71f945
diff --git a/spec/e2e/railtie_spec.rb b/spec/e2e/railtie_spec.rb index <HASH>..<HASH> 100644 --- a/spec/e2e/railtie_spec.rb +++ b/spec/e2e/railtie_spec.rb @@ -36,7 +36,7 @@ module Rails describe 'railtie' do it 'configures a default Neo4j server_db' do - expect(Neo4j::Session).to receive(:open).with(:ser...
Fix spec after addition of default: true to all session openings
neo4jrb_neo4j
train
rb
d4195821ef588e0411756e45399ebca0980fdb66
diff --git a/src/lib/datatable.py b/src/lib/datatable.py index <HASH>..<HASH> 100644 --- a/src/lib/datatable.py +++ b/src/lib/datatable.py @@ -440,7 +440,7 @@ class DataTable(object): ''' Read the value in an array and return it in an appropriate format - There is thre different case....
Removing duplicated noindiv
openfisca_openfisca-core
train
py,py
43bae46e479a143fffd0869ad8529b6b30cb34ee
diff --git a/python/ray/worker.py b/python/ray/worker.py index <HASH>..<HASH> 100644 --- a/python/ray/worker.py +++ b/python/ray/worker.py @@ -27,7 +27,7 @@ import ray.signature as signature import ray.numbuf import ray.local_scheduler import ray.plasma -from ray.utils import FunctionProperties, random_string +from ...
Included worker_id in task event logs. (#<I>)
ray-project_ray
train
py
826c7db78a78f31f50d506d0deb73adb750383d4
diff --git a/test/open_xml_package_test.rb b/test/open_xml_package_test.rb index <HASH>..<HASH> 100644 --- a/test/open_xml_package_test.rb +++ b/test/open_xml_package_test.rb @@ -15,10 +15,10 @@ class OpenXmlPackageTest < ActiveSupport::TestCase context "Given a simple part" do setup do @package = ...
[skip] Reworded the test (1m)
openxml_openxml-package
train
rb
04451f80648ed2687b7a5ec42c1d4e28553f8301
diff --git a/cmd.js b/cmd.js index <HASH>..<HASH> 100755 --- a/cmd.js +++ b/cmd.js @@ -530,7 +530,9 @@ function drawTorrent (torrent) { '{3:%s} {25+magenta:%s} {10:%s} {10+cyan:%s/s} {10+red:%s/s} {15+grey:%s}' + '{15+cyan:%s}', progress, - wire.remoteAddress + ':' + wire.remotePort, +...
Fix webrtc crash from command line Sometimes RTCPeerConnection.getStats() doesn't return an ip:port for peers
webtorrent_webtorrent-cli
train
js
6e82a4853e3222e8ab12c9ae3977553ae93a1e29
diff --git a/flow/probes/ovsmirror.go b/flow/probes/ovsmirror.go index <HASH>..<HASH> 100644 --- a/flow/probes/ovsmirror.go +++ b/flow/probes/ovsmirror.go @@ -30,7 +30,7 @@ import ( "github.com/skydive-project/skydive/common" "github.com/skydive-project/skydive/graffiti/graph" "github.com/skydive-project/skydive/...
ovs: do not start mirror on mirror port
skydive-project_skydive
train
go
62bb542643fa57278390cf829f03f65c3ced096c
diff --git a/libdokan/tlf.go b/libdokan/tlf.go index <HASH>..<HASH> 100644 --- a/libdokan/tlf.go +++ b/libdokan/tlf.go @@ -208,6 +208,20 @@ func (tlf *TLF) open(ctx context.Context, oc *openContext, path []string) ( return archivedTLF.open(ctx, oc, path[1:]) } + linkTarget, isArchivedTimeLink, err := libfs.LinkT...
libdokan: aliases for by-time archive names Issue: KBFS-<I>
keybase_client
train
go
d5314cc867554c2b14bb06416f841731fdcb56b9
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index <HASH>..<HASH> 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1403,6 +1403,8 @@ class DataFrame(NDFrame): Transform long (stacked) format (DataFrame) into wide (3D, Panel) format. + .. deprecated:: 0.20.0 + ...
Update doc strings, pd.Panel is deprecated (#<I>)
pandas-dev_pandas
train
py,py
3359fecc0273a5c30a3b6be6c3d7aa8304c32109
diff --git a/chai-angular.js b/chai-angular.js index <HASH>..<HASH> 100644 --- a/chai-angular.js +++ b/chai-angular.js @@ -74,8 +74,10 @@ var objKeys, expectedKeys; try { - objKeys = keys(obj, true); - expectedKeys = keys(expected); + objKeys = Object.keys(obj).filte...
Replace for... in + hasOwnProperty by Object.keys Object.keys requires IE9+, but Array.every is already used and also requires IE9+.
peferron_chai-angular
train
js
57499f6b9f8aa2b8773c3d1215d2b53633b0b3a7
diff --git a/lib/active_scaffold/helpers/form_column_helpers.rb b/lib/active_scaffold/helpers/form_column_helpers.rb index <HASH>..<HASH> 100644 --- a/lib/active_scaffold/helpers/form_column_helpers.rb +++ b/lib/active_scaffold/helpers/form_column_helpers.rb @@ -93,7 +93,7 @@ module ActiveScaffold options[:pla...
fix field id on render_field from subforms
activescaffold_active_scaffold
train
rb
75d9f23c1b65a1c9423b3cfd06d90037f832450c
diff --git a/plugins/diff.py b/plugins/diff.py index <HASH>..<HASH> 100644 --- a/plugins/diff.py +++ b/plugins/diff.py @@ -2,7 +2,7 @@ from visidata import Sheet, CellColorizer, vd -__version__ = "0.9" +__version__ = "0.9.1" vd.option('color_diff', 'red', 'color of values different from --diff source') vd.opti...
[plugins diff-] fix for dataframes
saulpw_visidata
train
py
922b4356106f2b368788fd1f160666c2248077f0
diff --git a/dredd_hooks/dredd.py b/dredd_hooks/dredd.py index <HASH>..<HASH> 100644 --- a/dredd_hooks/dredd.py +++ b/dredd_hooks/dredd.py @@ -9,6 +9,7 @@ import sys import os import glob import imp +import traceback from functools import wraps try: @@ -109,6 +110,10 @@ class HookHandler(SocketServer.StreamReque...
Log full tracebacks, also for hooks
apiaryio_dredd-hooks-python
train
py
baf179c880116bdf1f0216ae38232e6a2adc343c
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/platform/ComponentContainer.java b/sonar-plugin-api/src/main/java/org/sonar/api/platform/ComponentContainer.java index <HASH>..<HASH> 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/platform/ComponentContainer.java +++ b/sonar-plugin-api/src/main/java/...
Fix stop of ComponentContainer with child
SonarSource_sonarqube
train
java
e1eb480a65de8fe0c6ccb8a920ba4a57c86c77a7
diff --git a/pdfconduit/watermark/draw/image.py b/pdfconduit/watermark/draw/image.py index <HASH>..<HASH> 100644 --- a/pdfconduit/watermark/draw/image.py +++ b/pdfconduit/watermark/draw/image.py @@ -59,7 +59,7 @@ class DrawPIL: def _centered_y(self, size): # Get img size page_height = self.img.si...
Modified _center_y method to improve centered y axis placement
mrstephenneal_pdfconduit
train
py
d5054c994e09c0ab5e038e245e6aeefae2777354
diff --git a/modules/wycs/src/wycs/io/WycsFilePrinter.java b/modules/wycs/src/wycs/io/WycsFilePrinter.java index <HASH>..<HASH> 100644 --- a/modules/wycs/src/wycs/io/WycsFilePrinter.java +++ b/modules/wycs/src/wycs/io/WycsFilePrinter.java @@ -10,6 +10,7 @@ import java.io.Writer; import wybs.io.Token; import wybs.la...
WYCS: making progress with bounded quantification. Currently, improving the printing of wycs files.
Whiley_WhileyCompiler
train
java
65147c699249372291426a60ddc19ddee7d88512
diff --git a/src/style_manager/index.js b/src/style_manager/index.js index <HASH>..<HASH> 100644 --- a/src/style_manager/index.js +++ b/src/style_manager/index.js @@ -34,6 +34,7 @@ */ import { isElement } from 'underscore'; +import Module from 'common/module'; import defaults from './config/config'; import Secto...
Print warning in case appendTo of StyleManager is not found
artf_grapesjs
train
js
6c4b537c824a5b15e0ac1180f5ba7878ab315701
diff --git a/plugins/provisioners/chef/cap/freebsd/chef_install.rb b/plugins/provisioners/chef/cap/freebsd/chef_install.rb index <HASH>..<HASH> 100644 --- a/plugins/provisioners/chef/cap/freebsd/chef_install.rb +++ b/plugins/provisioners/chef/cap/freebsd/chef_install.rb @@ -6,7 +6,7 @@ module VagrantPlugins modu...
FreeBSD: Remove APT-ism No functional change intended.
hashicorp_vagrant
train
rb
f0e8ac3c19398189a2d4f66e702f7c219d6dff56
diff --git a/lib/documents.js b/lib/documents.js index <HASH>..<HASH> 100644 --- a/lib/documents.js +++ b/lib/documents.js @@ -642,8 +642,8 @@ function removeOutputTransform(headers, data) { } return { - uri: operation.uri, - exists: false + uri: operation.uri, + removed: true }; }
rename exists property to removed #<I>
marklogic_node-client-api
train
js
c4f071b6c30b3117fa3d9a3db7aeecb8fedf1a37
diff --git a/concrete/elements/express/form/form/association/select.php b/concrete/elements/express/form/form/association/select.php index <HASH>..<HASH> 100644 --- a/concrete/elements/express/form/form/association/select.php +++ b/concrete/elements/express/form/form/association/select.php @@ -10,7 +10,7 @@ <?ph...
fix error in select control under php 8
concrete5_concrete5
train
php
fe6069f58764ef0973d44738c64b1727bcf18555
diff --git a/il2_commons/organization.py b/il2_commons/organization.py index <HASH>..<HASH> 100644 --- a/il2_commons/organization.py +++ b/il2_commons/organization.py @@ -202,7 +202,10 @@ class AirForces(Values): @classmethod def get_squadron_prefixes(cls): - return map(lambda x: x.default_squadron_p...
Fix py3 compatibility.
IL2HorusTeam_il2fb-commons
train
py
adc1d880f5b0bf538c35652f3255d0719251aba6
diff --git a/actions/class.PropertiesAuthoring.php b/actions/class.PropertiesAuthoring.php index <HASH>..<HASH> 100644 --- a/actions/class.PropertiesAuthoring.php +++ b/actions/class.PropertiesAuthoring.php @@ -342,9 +342,9 @@ class tao_actions_PropertiesAuthoring extends tao_actions_CommonModule ...
Item Manage Schema: <I> error when adding second property right after added first one without page refresh
oat-sa_tao-core
train
php
b17fe9ec62b6f8ea369cf97f623039ce6f40b0ec
diff --git a/src/components/application-shell/application-shell.js b/src/components/application-shell/application-shell.js index <HASH>..<HASH> 100644 --- a/src/components/application-shell/application-shell.js +++ b/src/components/application-shell/application-shell.js @@ -4,6 +4,7 @@ import { Router, Redirect, Route,...
chore(app-shell): ensure to clean up 'token' key from localStorage
commercetools_merchant-center-application-kit
train
js
3c8cb3780c8ce090b2df48111d69f572d275ad76
diff --git a/tests/RhubarbTestCase.php b/tests/RhubarbTestCase.php index <HASH>..<HASH> 100644 --- a/tests/RhubarbTestCase.php +++ b/tests/RhubarbTestCase.php @@ -11,6 +11,7 @@ use Rhubarb\Crown\Tests\LoginProviders\UnitTestingLoginProvider; use Rhubarb\Crown\UrlHandlers\ClassMappedUrlHandler; use Rhubarb\Crown\UrlHa...
RhubarbTestCase now ensures the offline repos is in play
RhubarbPHP_Rhubarb
train
php
708cc0535e1d0b767af2fd5fd0f7b59c4c94e4c7
diff --git a/lib/solargraph/api_map.rb b/lib/solargraph/api_map.rb index <HASH>..<HASH> 100755 --- a/lib/solargraph/api_map.rb +++ b/lib/solargraph/api_map.rb @@ -633,7 +633,7 @@ module Solargraph n.children.each { |c| if c.kind_of?(AST::Node) and c.type == :send and [:public, :protected, :...
Instance methods do not propagate to classes from modules included from modules.
castwide_solargraph
train
rb
41785381b3381cabfcb132c4518b7fc66f6fd85d
diff --git a/lib/flint.js b/lib/flint.js index <HASH>..<HASH> 100644 --- a/lib/flint.js +++ b/lib/flint.js @@ -555,6 +555,7 @@ Flint.prototype.auditBots = function() { }) .catch(err => { this.debug(err.message); + return when(true); }); // membership
Fix for random bot despawns when API errors occur during audit routine
flint-bot_flint
train
js
f4875c9419876130be522ae08b64067cd9e0380e
diff --git a/dbussy.py b/dbussy.py index <HASH>..<HASH> 100644 --- a/dbussy.py +++ b/dbussy.py @@ -4199,7 +4199,9 @@ def validate_path(path, error = None) : def split_path(path) : "convenience routine for splitting a path into a list of components." - if path == "/" : + if isinstance(path, (tuple, list)) ...
add unsplit_path and passing of already-split path to split_path
ldo_dbussy
train
py
e371136f9f1abb7cd2a68dcc77f32e1e2579112f
diff --git a/app/models/pd_regime.rb b/app/models/pd_regime.rb index <HASH>..<HASH> 100644 --- a/app/models/pd_regime.rb +++ b/app/models/pd_regime.rb @@ -3,7 +3,7 @@ class PdRegime < ActiveRecord::Base belongs_to :patient has_many :pd_regime_bags - has_many :bag_types, through: :pd_regime_bag + has_many :bag...
Fix PdRegime pd_regime_bags association names
airslie_renalware-core
train
rb,rb
ebbb93f376e9a7e176436bf761a336a4ee92929e
diff --git a/src/Patchwork/Controller/AdminController.php b/src/Patchwork/Controller/AdminController.php index <HASH>..<HASH> 100644 --- a/src/Patchwork/Controller/AdminController.php +++ b/src/Patchwork/Controller/AdminController.php @@ -20,7 +20,7 @@ class AdminController implements ControllerProviderInterface ...
corrected inheritance bug for admin/api controllers
neemzy_patchwork-core
train
php,php
c25fc5c31a92d0daa25065b59791950c65dfb4ad
diff --git a/lib/accounting/booking.rb b/lib/accounting/booking.rb index <HASH>..<HASH> 100644 --- a/lib/accounting/booking.rb +++ b/lib/accounting/booking.rb @@ -73,7 +73,7 @@ module Accounting end def amount_as_string - '%0.2f' % amount.currency_round + '%0.2f' % amount end def a...
Use unrounded value in Booking.amount_as_string.
huerlisi_has_accounts
train
rb
08aa30298829bec55eb1167de41221ae0bd4aa8a
diff --git a/languagetool-core/src/main/java/org/languagetool/rules/WordRepeatRule.java b/languagetool-core/src/main/java/org/languagetool/rules/WordRepeatRule.java index <HASH>..<HASH> 100644 --- a/languagetool-core/src/main/java/org/languagetool/rules/WordRepeatRule.java +++ b/languagetool-core/src/main/java/org/lang...
Set locQualityIssueType="duplication" in rule WORD_REPEAT_RULE
languagetool-org_languagetool
train
java
3f244804a8d75b24a08e53bcd0db1a8e3b5ac84c
diff --git a/hvac/api/auth_methods/cert.py b/hvac/api/auth_methods/cert.py index <HASH>..<HASH> 100644 --- a/hvac/api/auth_methods/cert.py +++ b/hvac/api/auth_methods/cert.py @@ -207,7 +207,7 @@ class Cert(VaultApiBase): :return: The response of the login request. :rtype: requests.Response ""...
Fix Cert.login() handling of use_token argument The `client.auth.cert.login(use_token=True)` argument should be passed internally to `Adapter.login()`. But instead it was sent to Vault in the POST body, which is not recognized by Vault. Regression in #<I> (7bb<I>f<I>da<I>b4fc<I>f7b<I>fdad<I>dd2f2d).
hvac_hvac
train
py
eee246040192d7156aca96f93fec9d5ac0185dae
diff --git a/src/java/com/twitter/elephantbird/util/ThriftUtils.java b/src/java/com/twitter/elephantbird/util/ThriftUtils.java index <HASH>..<HASH> 100644 --- a/src/java/com/twitter/elephantbird/util/ThriftUtils.java +++ b/src/java/com/twitter/elephantbird/util/ThriftUtils.java @@ -1,6 +1,7 @@ package com.twitter.elep...
ThriftUtils : use return type of get method to find the type of a field. This works for unions where there are no real fields in the class.
twitter_elephant-bird
train
java
d598e029eaa6ea2f59a73cc2ec98764a0f29e546
diff --git a/ginga/util/io_fits.py b/ginga/util/io_fits.py index <HASH>..<HASH> 100644 --- a/ginga/util/io_fits.py +++ b/ginga/util/io_fits.py @@ -294,7 +294,11 @@ class PyFitsFileHandler(BaseFitsFileHandler): numhdu = _numhdu self.logger.debug("HDU index looks like: %s" % str(numhdu)) - ...
Fix for reloading HDUs that drop out of the cache - With certain files, the HDU name of (name, extver) is not a valid index into the astropy HDUList. If the key isn't found in the HDUList we index into the hdu_db that we created when opening the file, look up the numerical index and use that to access the HDU
ejeschke_ginga
train
py
6223d8f1aacd6f3c9745599cdc0b2c4acea8ff1a
diff --git a/app/models/address.rb b/app/models/address.rb index <HASH>..<HASH> 100644 --- a/app/models/address.rb +++ b/app/models/address.rb @@ -2,7 +2,7 @@ class Address < ActiveRecord::Base # Access restrictions - attr_accessible :extended_address, :street_address, :post_office_box, :postal_code, :locality +...
Added access restrictions for zip_locality.
huerlisi_has_vcards
train
rb
558cb16db560158387ed6f8b7b1660c8769deb61
diff --git a/heatmiserV3/heatmiser.py b/heatmiserV3/heatmiser.py index <HASH>..<HASH> 100644 --- a/heatmiserV3/heatmiser.py +++ b/heatmiserV3/heatmiser.py @@ -92,17 +92,17 @@ class HeatmiserThermostat(object): start_low = (start & constants.BYTEMASK) start_high = (start >> 8) & constants.BYTE...
Renamed payloadLength to payload_length
andylockran_heatmiserV3
train
py
c17d616b04e85c604be400e83da5cd8408b0cf97
diff --git a/kubernetes-server-mock/src/main/java/io/fabric8/kubernetes/client/server/mock/KubernetesMockServerExtension.java b/kubernetes-server-mock/src/main/java/io/fabric8/kubernetes/client/server/mock/KubernetesMockServerExtension.java index <HASH>..<HASH> 100644 --- a/kubernetes-server-mock/src/main/java/io/fabri...
#<I> Single change after revert
fabric8io_kubernetes-client
train
java
22803727826c2cd47e2e458f9dbd98d6640b4184
diff --git a/backend/server.js b/backend/server.js index <HASH>..<HASH> 100644 --- a/backend/server.js +++ b/backend/server.js @@ -151,6 +151,8 @@ app.get('/search', wrap(async (req, res) => { const string = JSON.stringify(results) console.log(req.connection.remoteAddress, 'Search for', req.query.query, 'took ', ...
Set application json header for json responses
ryanhugh_searchneu
train
js
dab0c980799828e9a433f4d9888a9c144de62b82
diff --git a/tests/src/Config/FileStoreTest.php b/tests/src/Config/FileStoreTest.php index <HASH>..<HASH> 100644 --- a/tests/src/Config/FileStoreTest.php +++ b/tests/src/Config/FileStoreTest.php @@ -77,6 +77,16 @@ class FileStoreTest extends PHPUnit_Framework_TestCase } /** @test */ + public function setNamespace...
add failing test for setting namespaced config vars before they are loaded
autarky_framework
train
php
ffab2fd28a9ead2f1146562182c9804a7f65808a
diff --git a/tests/test_worker.py b/tests/test_worker.py index <HASH>..<HASH> 100644 --- a/tests/test_worker.py +++ b/tests/test_worker.py @@ -2,7 +2,6 @@ import asyncio import pytest import sys -import unittest from unittest import mock @@ -29,8 +28,7 @@ class UvloopWorker(BaseTestWorker, base_worker.GunicornU...
Use pytest.skip for proper test skipping
aio-libs_aiohttp
train
py
28b0b59c839a1ba2d743f0996f32ea22bd93d58f
diff --git a/src/asynqp/message.py b/src/asynqp/message.py index <HASH>..<HASH> 100644 --- a/src/asynqp/message.py +++ b/src/asynqp/message.py @@ -145,7 +145,7 @@ class IncomingMessage(Message): """ Reject the message. - :keyword bool redeliver: if true, the broker will attempt to requeue the...
fix #<I> (docs were wrong)
benjamin-hodgson_asynqp
train
py
099f643e8c382a758343e0a28916262929115dd8
diff --git a/src/WooCommerce/HttpClient/Options.php b/src/WooCommerce/HttpClient/Options.php index <HASH>..<HASH> 100644 --- a/src/WooCommerce/HttpClient/Options.php +++ b/src/WooCommerce/HttpClient/Options.php @@ -19,7 +19,7 @@ class Options /** * Default WooCommerce REST API version. */ - const VE...
Use WooCommerce REST API v3 by default
woocommerce_wc-api-php
train
php
37794b84cad405d147e1567e1f58a684a811ebba
diff --git a/lib/Internal/PublicSuffixList.php b/lib/Internal/PublicSuffixList.php index <HASH>..<HASH> 100644 --- a/lib/Internal/PublicSuffixList.php +++ b/lib/Internal/PublicSuffixList.php @@ -14,6 +14,7 @@ final class PublicSuffixList { public static function isPublicSuffix(string $domain) { if (!self:...
Read the public suffix list only once
amphp_artax
train
php
b0aca8d075983091f5bfc30e15575f08895394c5
diff --git a/lib/sinatra/base.rb b/lib/sinatra/base.rb index <HASH>..<HASH> 100644 --- a/lib/sinatra/base.rb +++ b/lib/sinatra/base.rb @@ -60,6 +60,7 @@ module Sinatra # http://rack.rubyforge.org/doc/classes/Rack/Response/Helpers.html class Response < Rack::Response def body=(value) + value = value.body...
handle setting body to a Rack::Response
sinatra_sinatra
train
rb,rb
6ef1884303a6b94c5e19d58462352843b9defafe
diff --git a/src/main/groovy/org/codehaus/gant/GantMetaClass.java b/src/main/groovy/org/codehaus/gant/GantMetaClass.java index <HASH>..<HASH> 100644 --- a/src/main/groovy/org/codehaus/gant/GantMetaClass.java +++ b/src/main/groovy/org/codehaus/gant/GantMetaClass.java @@ -134,7 +134,8 @@ public class GantMetaClass extend...
Properly process the exceptions from running methods against the GantBuilder. git-svn-id: <URL>
Gant_Gant
train
java
1b57de40cd6f8c09de48d95ba0dd33cd2d9b34fa
diff --git a/skyfield/sgp4lib.py b/skyfield/sgp4lib.py index <HASH>..<HASH> 100644 --- a/skyfield/sgp4lib.py +++ b/skyfield/sgp4lib.py @@ -31,6 +31,11 @@ class EarthSatellite(object): self._earth = earth self.epoch = JulianDate(utc=(sat.epochyr, 1, sat.epochdays - 1.0)) + def __repr__(self): + ...
Give satellites a minimal repr() with epoch
skyfielders_python-skyfield
train
py
b40560f9a1cb6141edcd4e88387f4c10659a45c6
diff --git a/src/Workflow/WorkflowBuilder.php b/src/Workflow/WorkflowBuilder.php index <HASH>..<HASH> 100644 --- a/src/Workflow/WorkflowBuilder.php +++ b/src/Workflow/WorkflowBuilder.php @@ -178,6 +178,8 @@ class WorkflowBuilder /** * @return Workflow + * + * @throws \LogicException */ p...
change `WorkflowBuilder` to throw a `LogicException` when a default sequence flow has the condition
phpmentors-jp_workflower
train
php
f7a5c3b3392a577851bc081e0bd5b63ca89cc487
diff --git a/lib/rbhive/result_set.rb b/lib/rbhive/result_set.rb index <HASH>..<HASH> 100644 --- a/lib/rbhive/result_set.rb +++ b/lib/rbhive/result_set.rb @@ -4,34 +4,34 @@ module RBHive @schema = schema super(rows.map {|r| @schema.coerce_row(r) }) end - + def column_names @schema.col...
Correct spelling of #to_separated_output
forward3d_rbhive
train
rb
e012b22f224c84b751e949b458627ebe30a4dca9
diff --git a/plugins/Login/Auth.php b/plugins/Login/Auth.php index <HASH>..<HASH> 100644 --- a/plugins/Login/Auth.php +++ b/plugins/Login/Auth.php @@ -66,7 +66,7 @@ class Auth implements \Piwik\Auth || $user['token_auth'] === $this->token_auth) ) { $this->setTokenAuth(...
Prevent notice on the Upgrade screen when triggering <I>-b5 refs #<I>
matomo-org_matomo
train
php
9e8211471781800c8ef83e186756b6816a7a2a2b
diff --git a/cli.js b/cli.js index <HASH>..<HASH> 100644 --- a/cli.js +++ b/cli.js @@ -69,7 +69,7 @@ module.exports = function(rootPath, program) { Object.keys(commands).forEach(name => { let command = commands[name]; - // TODO: Remove + // TODO: Remove once all default commands are updated if (! command.na...
Inject custom config object into command actions
weepower_wee-core
train
js
3e69e2a8af904136825f85377c0b8939cd2f1790
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -75,7 +75,7 @@ rst_epilog += """ # -- Project information ------------------------------------------------------ # This does not *have* to match the package name, but typically does -project = setup_cfg['pa...
Fix use of package name for building docs
astropy_astropy-healpix
train
py
f76f8e38d5aeb6caadf9b482837b7492ebb044e0
diff --git a/metric_tank/store_cassandra.go b/metric_tank/store_cassandra.go index <HASH>..<HASH> 100644 --- a/metric_tank/store_cassandra.go +++ b/metric_tank/store_cassandra.go @@ -263,16 +263,12 @@ func (c *cassandraStore) Search(key string, start, end uint32) ([]Iter, error) { log.Error(3, err.Error()) re...
remove support for chunks without version id
grafana_metrictank
train
go
d4cc737878c3e9c17697de37eb2c9c19bf382b80
diff --git a/code/dataobjects/Comment.php b/code/dataobjects/Comment.php index <HASH>..<HASH> 100755 --- a/code/dataobjects/Comment.php +++ b/code/dataobjects/Comment.php @@ -394,4 +394,17 @@ class Comment extends DataObject { $config->set('URI.DisableExternalResources', true); return new HTMLPurifier($config); ...
ENHANCEMENT: Added gravatar method to get the URL for the gravatar from the email address submitted with the comment
silverstripe_silverstripe-comments
train
php
e4ea6cbd3c60e89ad1c9c10443cc2d552d2e1c7a
diff --git a/src/logs/cli.js b/src/logs/cli.js index <HASH>..<HASH> 100755 --- a/src/logs/cli.js +++ b/src/logs/cli.js @@ -58,6 +58,7 @@ function _logs(arc) { logs(name, function pretty(err, result) { if (err) error(err) else { + result.sort((a, b) => (new Date(a.timestamp) - new Date(b.timestamp))) /...
🚸 sorting logs chronologically
architect_architect
train
js
817ce6508c604496772d9411f5a8a9128cd91f4f
diff --git a/lib/hoptoad_notifier/railtie.rb b/lib/hoptoad_notifier/railtie.rb index <HASH>..<HASH> 100644 --- a/lib/hoptoad_notifier/railtie.rb +++ b/lib/hoptoad_notifier/railtie.rb @@ -9,7 +9,7 @@ module HoptoadNotifier require "hoptoad_notifier/rails3_tasks" end - config.middleware.insert_after Acti...
updated railtie to work with the new rails 3 middleware api
airbrake_airbrake
train
rb
17c5fac4547b93b96e2eb392a4d1d81c9ab9b65f
diff --git a/js/js.js b/js/js.js index <HASH>..<HASH> 100644 --- a/js/js.js +++ b/js/js.js @@ -4,7 +4,7 @@ module.exports = { assign: require('./assign/assign'), - cid: require('./cid/cid'), + cid: require('can-cid'), deepAssign: require('./deep-assign/deep-assign'), dev: require('./dev/dev'), diff: require(...
Fix self-reference deprecation warnings (#<I>)
canjs_can-util
train
js
ae702a345c7713c02d15b3cfe042ee1e8b4bcf36
diff --git a/mailbody.js b/mailbody.js index <HASH>..<HASH> 100644 --- a/mailbody.js +++ b/mailbody.js @@ -79,7 +79,7 @@ Body.prototype.parse_start = function (line) { enc = '8bit'; } enc = enc.replace(/^quoted-printable$/i, 'qp'); - enc = enc.toLowerCase(); + enc = enc.toLowerCase().split("\n"...
Small change to ensure that the content-transfer-encoding header that gets used to set is normalized if the header was an array.
haraka_Haraka
train
js
86d5257aae35e50cd33d6e044a46d6de90387b72
diff --git a/docs/source/conf.py b/docs/source/conf.py index <HASH>..<HASH> 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -174,7 +174,7 @@ html_static_path = ['nstatic'] html_extra_path = [ ] -for name in "example_movies example_start example_volume_rendering example_virtual_columns example_tables...
added tutorial to convert snippet [skip ci]
vaexio_vaex
train
py
ddfcbdfca01b453bdd18911dee82d7c19654507e
diff --git a/master/buildbot/buildslave.py b/master/buildbot/buildslave.py index <HASH>..<HASH> 100644 --- a/master/buildbot/buildslave.py +++ b/master/buildbot/buildslave.py @@ -552,10 +552,11 @@ class AbstractLatentBuildSlave(AbstractBuildSlave): self._substantiate() def _substantiation_failed(sel...
Cope with failures before substantion_deferred is set
buildbot_buildbot
train
py
690a1bba1b1a36ca71fdfd6f81d61bdc8e130d25
diff --git a/forestci/version.py b/forestci/version.py index <HASH>..<HASH> 100644 --- a/forestci/version.py +++ b/forestci/version.py @@ -1,9 +1,9 @@ # Format expected by setup.py and doc/source/conf.py: string of form "X.Y.Z" _version_major = 0 -_version_minor = 5 -_version_micro = 1 # use '' for first of series, ...
Update to use dev version again.
scikit-learn-contrib_forest-confidence-interval
train
py